From: Ismaƫl Bouya Date: Fri, 21 Feb 2020 22:26:25 +0000 (+0100) Subject: Add doing overlay X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=b27b9ddfe41ef7add0c2be7fa252d19f1bb886a8;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Add doing overlay --- 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}" + ''; + }; + }; +}