Skip to content

Commit bc37883

Browse files
committed
temp: fix 7zip compilation
1 parent 1571fa6 commit bc37883

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

nix/default.nix

+7-2
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,13 @@ let
109109
};
110110
in
111111
import nixpkgs {
112-
overlays = [ overlay ];
112+
overlays = [
113+
overlay
114+
(final: prev: {
115+
_7zz = prev._7zz.override { useUasm = (prev.stdenv.hostPlatform.isLinux && prev.stdenv.hostPlatform.isx86); };
116+
})
117+
];
113118
# broken is needed for hindent to build
114-
config = { allowBroken = true; };
119+
config = { allowBroken = true; allowUnfree = true; };
115120
inherit system;
116121
}

0 commit comments

Comments
 (0)