aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-12-22 13:21:45 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-12-22 13:21:45 +0100
commit0a7c1da9f3182e685a08eadd6185803a83a16b59 (patch)
tree33ef3bb28504aba95658a3b423aaad84b72ffb15 /flake.nix
parentdc83298449d5547926febe24c7bf973341127f60 (diff)
Make bash completion for 'nix' work in a devshell
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 806ed45de..f4fae2a00 100644
--- a/flake.nix
+++ b/flake.nix
@@ -667,6 +667,9 @@
PATH=$prefix/bin:$PATH
unset PYTHONPATH
export MANPATH=$out/share/man:$MANPATH
+
+ # Make bash completion work.
+ XDG_DATA_DIRS+=:$out/share
'';
});