diff options
Diffstat (limited to 'overlays/vcsh/default.nix')
-rw-r--r-- | overlays/vcsh/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/overlays/vcsh/default.nix b/overlays/vcsh/default.nix new file mode 100644 index 00000000..eb4d48ed --- /dev/null +++ b/overlays/vcsh/default.nix | |||
@@ -0,0 +1,7 @@ | |||
1 | self: 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 | } | ||