diff --git a/flake.nix b/flake.nix index 0afc723b0..c48cc7478 100644 --- a/flake.nix +++ b/flake.nix @@ -328,7 +328,7 @@ strictDeps = false; # Required to make non-NixOS Linux not complain about missing locale files during configure in a dev shell - LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive"; + ${if stdenv.isLinux then "LOCALE_ARCHIVE" else null} = "${pkgs.glibcLocales}/lib/locale/locale-archive"; shellHook = '' PATH=$prefix/bin:$PATH