Skip to content

[DRAFT] libcosmicAppHook: init#339287

Closed
nyabinary wants to merge 1 commit intoNixOS:masterfrom
nyabinary:libcosmicAppHook
Closed

[DRAFT] libcosmicAppHook: init#339287
nyabinary wants to merge 1 commit intoNixOS:masterfrom
nyabinary:libcosmicAppHook

Conversation

@nyabinary
Copy link
Copy Markdown
Contributor

Description of changes

Adds libcosmicAppHook for libcosmic apps.
Upstreamed from nixos-cosmic by @lilyinstarlight

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 3, 2024
@alyssais
Copy link
Copy Markdown
Member

alyssais commented Sep 5, 2024

Please make sure to explain the motivation in the commit message. At first glance this looks very complicated…

@nyabinary
Copy link
Copy Markdown
Contributor Author

Please make sure to explain the motivation in the commit message. At first glance this looks very complicated…

It simplifies building and packaging all apps made with libcosmic, also there is the fact that there was no hook for building libcosmic apps before, so every maintainer freestyled it. This provides a level of standarization.

Copy link
Copy Markdown
Member

@winterqt winterqt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you feel comfortable enough maintaining this for Nixpkgs on your own, or are you going to keep plucking changes from Lily's repo?

I feel like lifting this from a perfectly working flake without actually adding it to any existing packages (does it even work with them?) is maybe not the best of ideas.

@GetPsyched
Copy link
Copy Markdown
Member

Those are reasonable concerns.

  1. I'll most likely be maintaining the hook and other COSMIC related tools with them (will probably have a separate PR to init a COSMIC team, like gnome and kde).
  2. The next step is to update all of the existing packages in nixpkgs to use this hook, which is why the PR is still marked as a draft. Both of us are pre-occupied ATM and will get to this as soon as we can.

Copy link
Copy Markdown
Contributor

@Lord-Valen Lord-Valen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As is, this needs attribution to @lilyinstarlight by inclusion of the nixos-cosmic license.

@nyabinary nyabinary mentioned this pull request Dec 30, 2024
13 tasks
@nyabinary
Copy link
Copy Markdown
Contributor Author

nyabinary commented Dec 30, 2024

Superseded by #369113

@nyabinary nyabinary closed this Dec 30, 2024
@nyabinary nyabinary deleted the libcosmicAppHook branch February 7, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants