liblqr1: fix build on darwin (#473298)

This commit is contained in:
Fabián Heredia Montiel
2025-12-22 17:22:55 +00:00
committed by GitHub
+3 -1
View File
@@ -23,7 +23,9 @@ stdenv.mkDerivation (finalAttrs: {
};
# Fix build with gcc15
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
env = lib.optionalAttrs stdenv.cc.isGNU {
NIX_CFLAGS_COMPILE = "-std=gnu17";
};
nativeBuildInputs = [ pkg-config ];
propagatedBuildInputs = [ glib ];