diff options
-rw-r--r-- | overlays/default.nix | 1 | ||||
-rw-r--r-- | overlays/vcsh/default.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/overlays/default.nix b/overlays/default.nix index a46986d..c0adcdb 100644 --- a/overlays/default.nix +++ b/overlays/default.nix | |||
@@ -23,6 +23,7 @@ | |||
23 | shaarli = import ./shaarli; | 23 | shaarli = import ./shaarli; |
24 | slrn = import ./slrn; | 24 | slrn = import ./slrn; |
25 | taskwarrior = import ./taskwarrior; | 25 | taskwarrior = import ./taskwarrior; |
26 | vcsh = import ./vcsh; | ||
26 | vit = import ./vit; | 27 | vit = import ./vit; |
27 | weboob = import ./weboob; | 28 | weboob = import ./weboob; |
28 | weechat = import ./weechat; | 29 | weechat = import ./weechat; |
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 @@ | |||
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 | } | ||