hentai-at-home: move env variable(s) into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 15:59:53 +01:00
parent 140d831647
commit f33f170d34
+6 -4
View File
@@ -22,10 +22,12 @@ stdenvNoCC.mkDerivation (finalAttrs: {
makeWrapper
];
LANG = "en_US.UTF-8";
LOCALE_ARCHIVE = lib.optionalString (
stdenvNoCC.buildPlatform.libc == "glibc"
) "${buildPackages.glibcLocales}/lib/locale/locale-archive";
env = {
LANG = "en_US.UTF-8";
}
// lib.optionalAttrs (stdenvNoCC.buildPlatform.libc == "glibc") {
LOCALE_ARCHIVE = "${buildPackages.glibcLocales}/lib/locale/locale-archive";
};
makeFlags = [ "all" ];
enableParallelBuilding = false;