xdg-user-dirs: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-08 22:39:49 +01:00
parent cc71ee181f
commit f4bfc71397
+3 -1
View File
@@ -37,7 +37,9 @@ stdenv.mkDerivation (finalAttrs: {
libintl
];
NIX_LDFLAGS = if stdenv.isDarwin then "-liconv" else null;
env = lib.optionalAttrs stdenv.isDarwin {
NIX_LDFLAGS = "-liconv";
};
preFixup = ''
# fallback values need to be last