diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 11:10:31 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2021-03-25 11:10:31 +0100 |
commit | 4436ac1056c86647da05c62eedea8df61c58b43c (patch) | |
tree | 3d76c37dd747f9359cf3c3f6a09ba1ff0abce057 /pkgs/tools | |
parent | 8d03aea17897dd2918a621f2c778ebe53d98104f (diff) |
bud: use python2
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/networking/bud/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/networking/bud/default.nix b/pkgs/tools/networking/bud/default.nix index 724d25d49f93..7a4bd5adcba0 100644 --- a/pkgs/tools/networking/bud/default.nix +++ b/pkgs/tools/networking/bud/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchgit, python, gyp, util-linux }: +{ stdenv, lib, fetchgit, python2, util-linux }: stdenv.mkDerivation { pname = "bud"; @@ -11,10 +11,12 @@ stdenv.mkDerivation { sha256 = "08yr6l4lc2m6rng06253fcaznf6sq0v053wfr8bbym42c32z0xdh"; }; - buildInputs = [ - python gyp + nativeBuildInputs = [ + python2 python2.pkgs.gyp ] ++ lib.optional stdenv.isLinux util-linux; + strictDeps = true; + buildPhase = '' python ./gyp_bud -f make make -C out |