summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-02-17 17:22:55 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:48 +0200
commit54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e (patch)
tree012bb00f7a9c369b74a156a3d634d03a62b7fa5b /overlays
parent783634622560445f999b11f8081087314e6a7409 (diff)
downloadNUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.tar.gz
NUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.tar.zst
NUR-54a7d3d2781d8c89dbb4ad4d223c09a88416cd7e.zip
Add vcsh overlay
Diffstat (limited to 'overlays')
-rw-r--r--overlays/default.nix1
-rw-r--r--overlays/vcsh/default.nix7
2 files changed, 8 insertions, 0 deletions
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 @@
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 00000000..eb4d48ed
--- /dev/null
+++ b/overlays/vcsh/default.nix
@@ -0,0 +1,7 @@
1self: 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}