bud: use python2

This commit is contained in:
Frederik Rietdijk 2021-03-25 11:10:31 +01:00
parent 8d03aea178
commit 4436ac1056

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchgit, python, gyp, util-linux }: { stdenv, lib, fetchgit, python2, util-linux }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "bud"; pname = "bud";
@ -11,10 +11,12 @@ stdenv.mkDerivation {
sha256 = "08yr6l4lc2m6rng06253fcaznf6sq0v053wfr8bbym42c32z0xdh"; sha256 = "08yr6l4lc2m6rng06253fcaznf6sq0v053wfr8bbym42c32z0xdh";
}; };
buildInputs = [ nativeBuildInputs = [
python gyp python2 python2.pkgs.gyp
] ++ lib.optional stdenv.isLinux util-linux; ] ++ lib.optional stdenv.isLinux util-linux;
strictDeps = true;
buildPhase = '' buildPhase = ''
python ./gyp_bud -f make python ./gyp_bud -f make
make -C out make -C out