atinout: move LANG into env for structuredAttrs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user