diff --git a/pkgs/development/tools/build-managers/gup/default.nix b/pkgs/development/tools/build-managers/gup/default.nix index dcc0c3aef90..dfa65736f99 100644 --- a/pkgs/development/tools/build-managers/gup/default.nix +++ b/pkgs/development/tools/build-managers/gup/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, nix-update-source, lib, python +{ stdenv, fetchFromGitHub, nix-update-source, lib, python3 , which, runtimeShell, pychecker ? null }: stdenv.mkDerivation rec { version = "0.7.0"; @@ -9,7 +9,9 @@ stdenv.mkDerivation rec { sha256 = "1pwnmlq2pgkkln9sgz4wlb9dqlqw83bkf105qljnlvggc21zm3pv"; }; pname = "gup"; - buildInputs = lib.remove null [ python which pychecker ]; + nativeBuildInputs = [ python3 which pychecker ]; + buildInputs = [ python3 ]; + strictDeps = true; SKIP_PYCHECKER = pychecker == null; buildPhase = "make python"; installPhase = ''