aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorQyriad <qyriad@qyriad.me>2024-03-21 08:22:38 -0600
committerQyriad <qyriad@qyriad.me>2024-03-21 08:22:38 -0600
commitfab55aff0eca23115323d4d08d9b965d8fe3e137 (patch)
tree2de8d3f1ad1660534d0033584e44a57a5f0fc0e3 /flake.nix
parent22e3f0e9875082be7f4eec8e3caeb134a7f1c05f (diff)
flake: fix arm32 Linux cross devShell on macOS (fix nix flake check)
Change-Id: Iacac97de0b3d5f2df52c7bc985148624a351f45d
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";
});