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-02-21 23:26:25 +0100 |
commit | 0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a (patch) | |
tree | 9afda6501aa1a0f2cf17f6935f8ac8932f75df7b /overlays | |
parent | 56b07e8dfa9f50a7c0af6d25d4016b34c1f49d23 (diff) | |
download | Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.tar.gz Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.tar.zst Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.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 c0adcdb..85cc0fb 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 0000000..7f95fb6 --- /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 | } | ||