aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJade Lovelace <lix@jade.fyi>2024-03-12 18:30:55 -0700
committerjade <lix@jade.fyi>2024-03-13 12:25:23 -0700
commitab5ff8691706b10a8c428e944fdf488e90aef9c1 (patch)
tree2b42abd0b757c3479ac065b4fec22b9f76e55c01 /flake.nix
parent1b8662b85cb70e02c2a1650e290ec3007b6c6d30 (diff)
flake: dev shells should include the LOCALE_ARCHIVE so configure does not complain
Change-Id: Id661bd8c90696cb663a25503878a697f596d1e77
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 8fde05179..96288dd35 100644
--- a/flake.nix
+++ b/flake.nix
@@ -423,6 +423,9 @@
installFlags = "sysconfdir=$(out)/etc";
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";
+
shellHook = ''
PATH=$prefix/bin:$PATH
unset PYTHONPATH