Skip to content

Commit fc47801

Browse files
committed
survey: Fix python overlay being wrong.
Using `pkgs.python27` instead of `previous.python27` was totally wrong, that stops overlays from working correctly. Not sure what I was thinking when I wrote that. Fixes `pkgs.fontforge` failing to link with weird glibc error via python as shown in NixOS/nixpkgs#66598.
1 parent 6a3c31f commit fc47801

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

survey/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
let
2-
cython-disable-tests-overlay = pkgs: final: previous: {
3-
python27 = pkgs.python27.override {
2+
cython-disable-tests-overlay = final: previous: {
3+
python27 = previous.python27.override {
44
packageOverrides = self: super: {
55
cython = super.cython.overridePythonAttrs (old: rec {
66
# TODO Remove once Cython tests are no longer flaky. See
@@ -28,7 +28,7 @@ in
2828
# Note that we must NOT use something like `import normalPkgs.path {}`.
2929
# It is bad because it removes previous overlays.
3030
pkgs ? (normalPkgs.appendOverlays [
31-
(cython-disable-tests-overlay normalPkgs)
31+
cython-disable-tests-overlay
3232
])."${approach}",
3333

3434
# When changing this, also change the default version of Cabal declared below

0 commit comments

Comments
 (0)