We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b3fa9f + 362dab3 commit a749ba8Copy full SHA for a749ba8
flake.nix
@@ -139,11 +139,18 @@
139
140
withZ3 = pkgs: pkg: exe: pkgs.stdenv.mkDerivation {
141
name = exe;
142
- phases = [ "installPhase" ];
+ dontUnpack = true;
143
+ dontPatch = true;
144
+ dontConfigure = true;
145
+ dontBuild = true;
146
+
147
buildInputs = with pkgs; [ makeWrapper ];
148
installPhase = ''
149
mkdir -p $out/bin
- makeWrapper ${pkg}/bin/${exe} $out/bin/${exe} --prefix PATH : ${pkgs.z3}/bin
150
+ cp ${pkg}/bin/${exe} $out/bin/${exe}
151
+ '';
152
+ postFixup = ''
153
+ wrapProgram $out/bin/${exe} --prefix PATH : ${pkgs.z3}/bin
154
'';
155
};
156
in {
0 commit comments