atinout: move LANG into env for structuredAttrs (#495185)

This commit is contained in:
Philip Taron
2026-03-06 18:15:50 +00:00
committed by GitHub
+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