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/doing | |
parent | 56b07e8dfa9f50a7c0af6d25d4016b34c1f49d23 (diff) | |
download | Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.tar.gz Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.tar.zst Nix-0dc93ea53e37a1453c2c0bb27b047a78b1c20f1a.zip |
Add doing overlay
Diffstat (limited to 'overlays/doing')
-rw-r--r-- | overlays/doing/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
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 | } | ||