diff options
-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 | } | ||