atinout: move LANG into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-28 13:31:32 +01:00
parent fff040265c
commit 58a13f6d2d
+7 -2
View File
@@ -10,8 +10,13 @@ stdenv.mkDerivation {
pname = "atinout";
version = "0.9.2-alpha";
env.NIX_CFLAGS_COMPILE = lib.optionalString (!stdenv.cc.isClang) "-Werror=implicit-fallthrough=0";
LANG = if stdenv.hostPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
env = {
LANG = if stdenv.hostPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
}
// lib.optionalAttrs (!stdenv.cc.isClang) {
NIX_CFLAGS_COMPILE = "-Werror=implicit-fallthrough=0";
};
nativeBuildInputs = [
ronn
mount