Skip to content

cosmic-bg: init at unstable-2023-10-10#266687

Merged
wegank merged 1 commit intoNixOS:masterfrom
nyabinary:cosmic-bg
Jan 12, 2024
Merged

cosmic-bg: init at unstable-2023-10-10#266687
wegank merged 1 commit intoNixOS:masterfrom
nyabinary:cosmic-bg

Conversation

@nyabinary
Copy link
Copy Markdown
Contributor

@nyabinary nyabinary commented Nov 10, 2023

Description of changes

COSMIC bg init

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/)
  • 23.11 Release Notes (or backporting 23.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.

@AndersonTorres
Copy link
Copy Markdown
Member

  error: evaluation aborted with the following error message: 'Function called without required argument "cosmic-notifications" at /home/runner/work/nixpkgs/nixpkgs/pkgs/by-name/co/cosmic-bg/package.nix:11'

@nyabinary nyabinary marked this pull request as ready for review November 10, 2023 16:44
@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 10, 2023
@nyabinary
Copy link
Copy Markdown
Contributor Author

  error: evaluation aborted with the following error message: 'Function called without required argument "cosmic-notifications" at /home/runner/work/nixpkgs/nixpkgs/pkgs/by-name/co/cosmic-bg/package.nix:11'

Fixed this

@delroth delroth added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 10, 2023
@nyabinary nyabinary marked this pull request as draft December 26, 2023 19:15
@nyabinary nyabinary force-pushed the cosmic-bg branch 2 times, most recently from 9fd0a65 to ff4ce9b Compare December 26, 2023 19:23
@nyabinary nyabinary marked this pull request as ready for review December 26, 2023 19:23
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we avoid using LD_LIBRARY_PATH here?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure avoiding it is particularly useful here (it does a dlopen at runtime)

This program won't really suffer the downsides of wrapping, and all of the other libcosmic packages need wrapping anyway

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We cannot patch the dlopen code directly?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

dlopened is used by iced/winit's wayland-dlopen feature, which is on by default, and the crate is itself a transitive dependency of cosmic-bg.

Copy link
Copy Markdown
Member

@lilyinstarlight lilyinstarlight left a comment

Choose a reason for hiding this comment

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

The diff itself looks good to me. I'll try to do some testing when I get a chance later

Copy link
Copy Markdown
Contributor

@OPNA2608 OPNA2608 left a comment

Choose a reason for hiding this comment

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

Result of nixpkgs-review pr 266687 run on x86_64-linux 1

1 package built:
  • cosmic-bg

Assuming it'll work once COSMIC packaging is far enough for the desktop to be usable - running it as-is under another Wayland compositor doesn't seem to do much.

@wegank wegank merged commit e0b72f8 into NixOS:master Jan 12, 2024
@nyabinary nyabinary deleted the cosmic-bg branch January 14, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants