diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-16 10:57:32 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-05-16 11:22:26 +0200 |
commit | 52f45eb051df228955add90ca62de66a7ed8af34 (patch) | |
tree | 2ece5fca8789b8597c1f3b238e9c6a9a16fccfc8 /overlays | |
parent | daf64e3f7de98e4267823d14fa34891b27b5f657 (diff) | |
download | Nix-52f45eb051df228955add90ca62de66a7ed8af34.tar.gz Nix-52f45eb051df228955add90ca62de66a7ed8af34.tar.zst Nix-52f45eb051df228955add90ca62de66a7ed8af34.zip |
Patch bundix to avoid raises at runtime
Some things are missing in the lockfiles, but it’s unclear what.
Diffstat (limited to 'overlays')
-rw-r--r-- | overlays/bundix/default.nix | 7 | ||||
-rw-r--r-- | overlays/default.nix | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/overlays/bundix/default.nix b/overlays/bundix/default.nix new file mode 100644 index 0000000..6c4046c --- /dev/null +++ b/overlays/bundix/default.nix | |||
@@ -0,0 +1,7 @@ | |||
1 | self: super: { | ||
2 | bundix = super.bundix.overrideAttrs (old: { | ||
3 | preBuild = (old.preBuild or "") + '' | ||
4 | sed -i -e "/case obj/a\ when nil\n nil" lib/bundix/nixer.rb | ||
5 | ''; | ||
6 | }); | ||
7 | } | ||
diff --git a/overlays/default.nix b/overlays/default.nix index 501be73..408515e 100644 --- a/overlays/default.nix +++ b/overlays/default.nix | |||
@@ -3,6 +3,7 @@ | |||
3 | mypkgs = self: super: import ../pkgs { pkgs = self; }; | 3 | mypkgs = self: super: import ../pkgs { pkgs = self; }; |
4 | 4 | ||
5 | bitlbee = import ./bitlbee; | 5 | bitlbee = import ./bitlbee; |
6 | bundix = import ./bundix; | ||
6 | dwm = import ./dwm; | 7 | dwm = import ./dwm; |
7 | elinks = import ./elinks; | 8 | elinks = import ./elinks; |
8 | gitweb = import ./gitweb; | 9 | gitweb = import ./gitweb; |