aboutsummaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-08-27 23:02:48 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-08-27 23:02:48 +0200
commitca5478c652a7c04d4e28205c732e77f729d8b3ea (patch)
treeac7b179bff315bbdb43526400fdf293d1abe54a8 /overlays
parent156fa13e5d6c3ac578a62369ad88c23d07413503 (diff)
downloadNix-ca5478c652a7c04d4e28205c732e77f729d8b3ea.tar.gz
Nix-ca5478c652a7c04d4e28205c732e77f729d8b3ea.tar.zst
Nix-ca5478c652a7c04d4e28205c732e77f729d8b3ea.zip
Upgrade home-manager
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}