summaryrefslogtreecommitdiff
path: root/dged.nix
diff options
context:
space:
mode:
Diffstat (limited to 'dged.nix')
-rw-r--r--dged.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/dged.nix b/dged.nix
index a8f1a8f..6f68df9 100644
--- a/dged.nix
+++ b/dged.nix
@@ -10,6 +10,8 @@
, valgrind
, linkFarm
, fetchFromGitHub
+, glibcLocalesUtf8
+, strace
}:
stdenv.mkDerivation {
name = "dged";
@@ -32,6 +34,9 @@ stdenv.mkDerivation {
bmake docs
'';
+ # needed for tests to work in sandboxed builds
+ LOCALE_ARCHIVE = "${glibcLocalesUtf8}/lib/locale/locale-archive";
+
TREESITTER_GRAMMARS = with tree-sitter-grammars;
linkFarm "tree-sitter-grammars" rec {
"bash" = tree-sitter-bash;