]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/blobdiff - overlays/doing/default.nix
Add doing overlay
[perso/Immae/Config/Nix/NUR.git] / overlays / doing / default.nix
diff --git a/overlays/doing/default.nix b/overlays/doing/default.nix
new file mode 100644 (file)
index 0000000..7f95fb6
--- /dev/null
@@ -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}"
+      '';
+    };
+  };
+}