dropbear: move CFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 19:23:18 +01:00
parent 5567e2cafd
commit 540d63f0d9
+1 -1
View File
@@ -27,7 +27,7 @@ stdenv.mkDerivation (finalAttrs: {
sha256 = "sha256-DR98pxHPwzbcioXmcsq5z9giOgL+LaCkp661jJ4RNjQ=";
};
CFLAGS = lib.pipe (lib.attrNames dflags) [
env.CFLAGS = lib.pipe (lib.attrNames dflags) [
(map (name: "-D${name}=\\\"${dflags.${name}}\\\""))
(lib.concatStringsSep " ")
];