]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - flakes/mypackages/overlays/doing/default.nix
Add flake skeletons
[perso/Immae/Config/Nix.git] / flakes / mypackages / overlays / doing / default.nix
diff --git a/flakes/mypackages/overlays/doing/default.nix b/flakes/mypackages/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}"
+      '';
+    };
+  };
+}