diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-17 17:22:55 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:48 +0200 |
commit | 54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e (patch) | |
tree | 012bb00f7a9c369b74a156a3d634d03a62b7fa5b /overlays/vcsh | |
parent | 783634622560445f999b11f8081087314e6a7409 (diff) | |
download | NUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.tar.gz NUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.tar.zst NUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.zip |
Add vcsh overlay
Diffstat (limited to 'overlays/vcsh')
-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 | } | ||