Skip to content

Commit b275d22

Browse files
hyprsunset: fix and enable strictDeps (#366614)
1 parent ec10f50 commit b275d22

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkgs/by-name/hy/hyprsunset/package.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ stdenv.mkDerivation (finalAttrs: {
2323
hash = "sha256-SVkcePzX9PAlWsPSGBaxiNFCouiQmGOezhMo0+zhDIQ=";
2424
};
2525

26+
postPatch = ''
27+
# hyprwayland-scanner is not required at runtime
28+
substituteInPlace CMakeLists.txt --replace-fail "hyprwayland-scanner>=0.4.0" ""
29+
'';
30+
2631
nativeBuildInputs = [
2732
cmake
2833
pkg-config
@@ -37,6 +42,8 @@ stdenv.mkDerivation (finalAttrs: {
3742
wayland-scanner
3843
];
3944

45+
strictDeps = true;
46+
4047
passthru = {
4148
updateScript = nix-update-script { };
4249
};

0 commit comments

Comments
 (0)