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/bundix | |
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/bundix')
-rw-r--r-- | overlays/bundix/default.nix | 7 |
1 files changed, 7 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 | } | ||