Skip to content

Commit 0e869d1

Browse files
committed
pypy workaround (NixOS/nixpkgs issue 419942)
1 parent 6ef0701 commit 0e869d1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

flake.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@
1919
(import ./testlib/overlay.nix)
2020
(import ./gcc/overlay.nix)
2121
(import ./checker/overlay.nix)
22+
(self: super: let # pypy workaround (NixOS/nixpkgs#419942)
23+
packageOverrides = (self: super: with super; {
24+
sqlite = sqlite.overrideAttrs (x: { configureFlags = x.configureFlags ++ ["--soname=legacy"]; });
25+
});
26+
in with super; {
27+
pypy = pypy.override { inherit packageOverrides; };
28+
pypy3 = pypy3.override { inherit packageOverrides; };
29+
})
2230
];
2331
};
2432

0 commit comments

Comments
 (0)