diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index fb1663c19cba..527009f07610 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -20,9 +20,10 @@ stdenv.mkDerivation { makeFlags = [ "VERSION=${version}" "MTIME=${self.lastModifiedDate}" - "NO_PYTHON=1" ]; + env.PYTHON = "${py3}/bin/python3"; + # when building on darwin we need cctools to provide the correct libtool # as libwally-core detects the host as darwin and tries to add the -static # option to libtool, also we have to add the modified gsed package.