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/vcsh/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 overlays/vcsh/default.nix (limited to 'overlays/vcsh') 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