aboutsummaryrefslogtreecommitdiff
path: root/overlays/vcsh
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-17 17:22:55 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-17 17:22:55 +0100
commit45ed687e9b8ea3795d00aee34e29c3641c6e1bcd (patch)
tree87f37b6bf807c7dae8d0590bdb23b0a5d2ee68e3 /overlays/vcsh
parenta1a4a72ea8cacd9edddc368626fb617989fa964d (diff)
downloadNix-45ed687e9b8ea3795d00aee34e29c3641c6e1bcd.tar.gz
Nix-45ed687e9b8ea3795d00aee34e29c3641c6e1bcd.tar.zst
Nix-45ed687e9b8ea3795d00aee34e29c3641c6e1bcd.zip
Add vcsh overlay
Diffstat (limited to 'overlays/vcsh')
-rw-r--r--overlays/vcsh/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/overlays/vcsh/default.nix b/overlays/vcsh/default.nix
new file mode 100644
index 0000000..eb4d48e
--- /dev/null
+++ b/overlays/vcsh/default.nix
@@ -0,0 +1,7 @@
1self: super: {
2 vcsh = super.vcsh.overrideAttrs(old: {
3 patchPhase = old.patchPhase or "" + ''
4 sed -i -e 's@-r "$XDG_CONFIG_HOME/vcsh/config.d/$VCSH_REPO_NAME"@-f "$XDG_CONFIG_HOME/vcsh/config.d/$VCSH_REPO_NAME"@' vcsh
5 '';
6 });
7}