Skip to content

Commit f1c3be3

Browse files
committed
update nix/testenv.nix
1 parent 31d74a6 commit f1c3be3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nix/testenv.nix

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
poetry2nix.mkPoetryEnv {
77
python = python311;
88
projectDir = ../integration_tests;
9-
preferWheels = true;
9+
preferWheels = false;
1010
overrides = poetry2nix.overrides.withDefaults (
1111
self: super:
1212
let
@@ -33,5 +33,9 @@ poetry2nix.mkPoetryEnv {
3333
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ map (a: self.${a}) systems;
3434
})
3535
) buildSystems
36+
// {
37+
# 强制使用 nixpkgs 中预构建的 attrs
38+
attrs = python311.pkgs.attrs;
39+
}
3640
);
3741
}

0 commit comments

Comments
 (0)