From 54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 17 Feb 2020 17:22:55 +0100 Subject: Add vcsh overlay --- overlays/default.nix | 1 + overlays/vcsh/default.nix | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 overlays/vcsh/default.nix diff --git a/overlays/default.nix b/overlays/default.nix index a46986d0..c0adcdb2 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -23,6 +23,7 @@ shaarli = import ./shaarli; slrn = import ./slrn; taskwarrior = import ./taskwarrior; + vcsh = import ./vcsh; vit = import ./vit; weboob = import ./weboob; weechat = import ./weechat; 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 @@ +self: super: { + vcsh = super.vcsh.overrideAttrs(old: { + patchPhase = old.patchPhase or "" + '' + 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 + ''; + }); +} -- cgit v1.2.3