Skip to content

Commit 12df5ca

Browse files
authored
fix nvidia error from prior nix flake update (#224)
1 parent 4fce8e9 commit 12df5ca

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

flake.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkgs/ocf-cosmic-greeter.nix

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
{ cosmic-greeter }:
1+
{ cosmic-greeter, rustPlatform }:
22

3-
cosmic-greeter.overrideAttrs {
3+
# Re-vendor cargo deps since upstream cargoHash is stale
4+
# Remove cargoDeps override after `nix flake update` if build succeeds without it
5+
# https://discourse.nixos.org/t/overriding-version-cant-find-new-cargohash/31502/10
6+
cosmic-greeter.overrideAttrs (oldAttrs: {
47
patches = [ ./ocf-cosmic-greeter/add-logout-button.patch ];
5-
}
8+
cargoDeps = rustPlatform.fetchCargoVendor {
9+
inherit (oldAttrs) src;
10+
hash = "sha256-4yRBgFrH4RBpuvChTED+ynx+PyFumoT2Z+R1gXxF4Xc=";
11+
};
12+
})
613

0 commit comments

Comments
 (0)