From b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 21 Feb 2020 23:26:25 +0100 Subject: Add doing overlay --- overlays/default.nix | 1 + overlays/doing/default.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 overlays/doing/default.nix 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 @@ weboob = import ./weboob; weechat = import ./weechat; ympd = import ./ympd; + doing = import ./doing; } // 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 @@ +self: super: { + defaultGemConfig = super.defaultGemConfig // { + doing = attrs: { + postInstall = '' + installPath=$(cat $out/nix-support/gem-meta/install-path) + sed -i $installPath/lib/doing/wwid.rb -e "/Create a backup copy for the undo command/ {n;d}" + ''; + }; + }; +} -- cgit v1.2.3