flake: Remove GIT_* CMake flags set by package

Fixes error in configure when using newer nixpkgs.
This commit is contained in:
Sapphire
2026-10-01 20:06:40 -05:00
parent 3136066aa9
commit 7e0bf5efc1
+1 -1
View File
@@ -76,7 +76,7 @@
buildInputs = oldAttrs.buildInputs ++ extraBuildInputs;
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ extraNativeBuildInputs;
cmakeFlags = (oldAttrs.cmakeFlags or [ ]) ++ [
cmakeFlags = (lib.filter (flag: !lib.hasInfix "GIT_" flag) oldAttrs.cmakeFlags) ++ [
(lib.cmakeFeature "GIT_DESC" "nightly")
(lib.cmakeFeature "GIT_COMMIT" "nightly")
];