Skip to content

cosmic: remove stale dependencies - #597085

Open
a-kenji wants to merge 8 commits into
NixOS:masterfrom
a-kenji:ke-cosmic-prune
Open

a-kenji wants to merge 8 commits into
NixOS:masterfrom
a-kenji:ke-cosmic-prune

Conversation

@a-kenji

@a-kenji a-kenji commented Dec 3, 2026 •

Copy link
Copy Markdown
Member
  • cosmic-bg: drop nasm from nativeBuildInputs
  • cosmic-viewer: remove bingenHook from nativeBuildInputs
  • cosmic-store: drop openssl
  • cosmic-applets: remove obsolete dependencies
  • cosmic-files: drop bindgenHook form nativeBuildInputs
  • cosmic-greeter: remove obsolete dependencies
  • cosmic-initial-setup: remove openssl

Part of: #508830

Things done

`nasm` hasn't been a dependency for a while now.
Like many projects `cosmic-store` went the `openssl` -> `aws-lc-rs`
route.

Part of: NixOS#508830
Also remove: `cosmic-randr`, `orca` from `buildInputs`, they are only
needed as wrappers.

Part of: NixOS#508830
Part of the same `openssl` -> `aws-lc-rs` migration.

Part of: NixOS#508830
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team December 3, 2026 15:27
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 6.topic: COSMIC COSMIC is a software platform for designing beautiful user experiences labels Dec 3, 2026
@a-kenji

a-kenji commented Dec 3, 2026 •

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 597085 --additional-package nixosTests.cosmic --additional-package nixosTests.cosmic-noxwayland --additional-package nixosTests.cosmic-autologin
Commit: 9a65503dab1aa9bb653eedea8cf006c325fdc882


x86_64-linux

❌ 1 package failed to build:
  • nixosTests.cosmic-autologin
✅ 2 tests built:
  • nixosTests.cosmic
  • nixosTests.cosmic-noxwayland
✅ 8 packages built:
  • cosmic-applets
  • cosmic-files
  • cosmic-viewer
  • cosmic-initial-setup
  • cosmic-greeter
  • cosmic-store
  • cosmic-bg
  • cosmic-player

nixosTests.cosmic-autologin
16:00:36Z [ERROR] [L:199] The polkit authentication test failed
16:00:36Z [INFO] [L:213] ================================================================================
16:00:36Z [INFO] [L:214] Performing test to launch GUI applications
16:00:36Z [INFO] [L:242] Running: ['cosmic-edit']
16:00:39Z [INFO] [L:279] The GUI application test for 'cosmic-edit' (com.system76.CosmicEdit) passed
16:00:39Z [INFO] [L:242] Running: ['cosmic-files']
16:00:43Z [INFO] [L:279] The GUI application test for 'cosmic-files' (com.system76.CosmicFiles) passed
16:00:43Z [INFO] [L:242] Running: ['cosmic-player']
16:00:48Z [INFO] [L:279] The GUI application test for 'cosmic-player' (com.system76.CosmicPlayer) passed
16:00:48Z [INFO] [L:242] Running: ['cosmic-reader', '/nix/store/hg2qwqk0hab65xdcx4b6lkr4ifj7l6i1-empty-pdf']
16:00:51Z [INFO] [L:279] The GUI application test for 'cosmic-reader' (com.system76.CosmicReader) passed
16:00:51Z [INFO] [L:242] Running: ['cosmic-settings']
16:00:59Z [INFO] [L:279] The GUI application test for 'cosmic-settings' (com.system76.CosmicSettings) passed
16:00:59Z [INFO] [L:242] Running: ['cosmic-store']
16:01:02Z [INFO] [L:279] The GUI application test for 'cosmic-store' (com.system76.CosmicStore) passed
16:01:02Z [INFO] [L:242] Running: ['cosmic-term']
16:01:05Z [INFO] [L:279] The GUI application test for 'cosmic-term' (com.system76.CosmicTerm) passed

[118.53s] cleanup
[118.53s] (finished: cleanup, in 0.00 seconds)

Edit: The autologin is a known flaky test still sadly. We need to fix that finally.

@ddogfoodd ddogfoodd added the 8.has: clean-up This PR removes packages or removes other cruft label Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: COSMIC COSMIC is a software platform for designing beautiful user experiences 8.has: clean-up This PR removes packages or removes other cruft 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. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants