Skip to content

Commit 3b2f365

Browse files
authored
Merge pull request #3834 from Nadrieril/fix-z3
nix: Pin the python version used by z3
2 parents 0bc2ede + 96bcb2a commit 3b2f365

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.nix/z3.nix

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
{ pkgs, stdenv, callPackage }:
1+
{ stdenv, callPackage, z3, python310 }:
22

33
let
4-
z3_4_8_5 = callPackage (import ./z3_4_8_5.nix) {};
5-
z3_4_13_3 = callPackage (import ./z3_4_13_3.nix) {};
4+
z3_python310 = z3.override { python = python310; };
5+
z3_4_8_5 = callPackage (import ./z3_4_8_5.nix) { z3 = z3_python310; };
6+
z3_4_13_3 = callPackage (import ./z3_4_13_3.nix) { z3 = z3_python310; };
67
in
78
stdenv.mkDerivation {
89
pname = "fstar-z3";

0 commit comments

Comments
 (0)