aboutsummaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
Diffstat (limited to 'overlays')
-rw-r--r--overlays/default.nix1
-rw-r--r--overlays/nix-direnv/default.nix7
2 files changed, 8 insertions, 0 deletions
diff --git a/overlays/default.nix b/overlays/default.nix
index b875899..0c7c738 100644
--- a/overlays/default.nix
+++ b/overlays/default.nix
@@ -31,5 +31,6 @@
31 ympd = import ./ympd; 31 ympd = import ./ympd;
32 doing = import ./doing; 32 doing = import ./doing;
33 khal = import ./khal; 33 khal = import ./khal;
34 nix-direnv = import ./nix-direnv;
34} 35}
35// import ./python-packages 36// import ./python-packages
diff --git a/overlays/nix-direnv/default.nix b/overlays/nix-direnv/default.nix
new file mode 100644
index 0000000..c4c96e2
--- /dev/null
+++ b/overlays/nix-direnv/default.nix
@@ -0,0 +1,7 @@
1self: super: {
2 nix-direnv = super.nix-direnv.overrideAttrs (old: {
3 postPatch = old.postPatch + ''
4 sed -i -e 's/TEMPDIR "$old_tmp"/TEMPDIR "$old_tmpdir"/' direnvrc
5 '';
6 });
7}