]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Patch bundix to avoid raises at runtime
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 16 May 2019 08:57:32 +0000 (10:57 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 16 May 2019 09:22:26 +0000 (11:22 +0200)
Some things are missing in the lockfiles, but it’s unclear what.

overlays/bundix/default.nix [new file with mode: 0644]
overlays/default.nix

diff --git a/overlays/bundix/default.nix b/overlays/bundix/default.nix
new file mode 100644 (file)
index 0000000..6c4046c
--- /dev/null
@@ -0,0 +1,7 @@
+self: super: {
+  bundix = super.bundix.overrideAttrs (old: {
+    preBuild = (old.preBuild or "") + ''
+      sed -i -e "/case obj/a\      when nil\n        nil" lib/bundix/nixer.rb
+      '';
+  });
+}
index 501be738d8ca9a823057623b60939e68b834caad..408515ed4c261399ec6ce4b46853ac9052e611c4 100644 (file)
@@ -3,6 +3,7 @@
   mypkgs = self: super: import ../pkgs { pkgs = self; };
 
   bitlbee = import ./bitlbee;
+  bundix = import ./bundix;
   dwm = import ./dwm;
   elinks = import ./elinks;
   gitweb = import ./gitweb;