aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 11c461896..c201a575f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -336,7 +336,7 @@
# Make bash completion work.
XDG_DATA_DIRS+=:$out/share
'';
- } // lib.optionalAttrs (stdenv.isLinux && pkgs.glibcLocales != null) {
+ } // lib.optionalAttrs (stdenv.buildPlatform.isLinux && pkgs.glibcLocales != null) {
# Required to make non-NixOS Linux not complain about missing locale files during configure in a dev shell
LOCALE_ARCHIVE = "${lib.getLib pkgs.glibcLocales}/lib/locale/locale-archive";
});