diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-02-21 23:26:25 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-04-25 00:04:49 +0200 |
commit | b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8 (patch) | |
tree | e0c5e7199d4fd4991e2216b101b0a85738bd3961 /overlays | |
parent | 5e265d20307fe5fb844f176516cfca99bf2bc8ef (diff) | |
download | NUR-b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8.tar.gz NUR-b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8.tar.zst NUR-b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8.zip |
Add doing overlay
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/default.nix | 1 | ||||
-rw-r--r-- | overlays/doing/default.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/overlays/default.nix b/overlays/default.nix index c0adcdb2..85cc0fb5 100644 --- a/overlays/default.nix +++ b/overlays/default.nix | |||
@@ -28,5 +28,6 @@ | |||
28 | weboob = import ./weboob; | 28 | weboob = import ./weboob; |
29 | weechat = import ./weechat; | 29 | weechat = import ./weechat; |
30 | ympd = import ./ympd; | 30 | ympd = import ./ympd; |
31 | doing = import ./doing; | ||
31 | } | 32 | } |
32 | // import ./python-packages | 33 | // import ./python-packages |
diff --git a/overlays/doing/default.nix b/overlays/doing/default.nix new file mode 100644 index 00000000..7f95fb63 --- /dev/null +++ b/overlays/doing/default.nix | |||
@@ -0,0 +1,10 @@ | |||
1 | self: super: { | ||
2 | defaultGemConfig = super.defaultGemConfig // { | ||
3 | doing = attrs: { | ||
4 | postInstall = '' | ||
5 | installPath=$(cat $out/nix-support/gem-meta/install-path) | ||
6 | sed -i $installPath/lib/doing/wwid.rb -e "/Create a backup copy for the undo command/ {n;d}" | ||
7 | ''; | ||
8 | }; | ||
9 | }; | ||
10 | } | ||