cwiid: move NIX_CFLAGS_COMPILE into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-01-30 23:01:55 +01:00
parent 4ad0c9cc18
commit 56cee3b77f

View File

@@ -45,8 +45,10 @@ stdenv.mkDerivation {
flex
];
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
NIX_LDFLAGS = "-lbluetooth";
env = {
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
NIX_LDFLAGS = "-lbluetooth";
};
postInstall = ''
# Some programs (for example, cabal-install) have problems with the double 0