mspds: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-01 22:56:46 +01:00
parent 89e5728092
commit 056ccdfcf4
+10 -5
View File
@@ -31,11 +31,16 @@ stdenv.mkDerivation {
"OUTPUT=$(libName)"
"HIDOBJ="
];
NIX_LDFLAGS = [
"-lpugixml"
"-lhidapi${hidapiDriver}"
];
env.NIX_CFLAGS_COMPILE = toString [ "-I${hidapi}/include/hidapi" ];
env = {
NIX_LDFLAGS = toString [
"-lpugixml"
"-lhidapi${hidapiDriver}"
];
NIX_CFLAGS_COMPILE = toString [
"-I${hidapi}/include/hidapi"
];
};
patches = [ ./bsl430.patch ];