diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-13 10:47:07 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2016-10-13 10:47:07 +0200 |
commit | ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa (patch) | |
tree | 8bbef19cbd8dcbed0c33a458fb5af16aa0cea7f5 /pkgs | |
parent | cffdffe1f679a4beaf99355d26d38b23879474d7 (diff) | |
download | nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar.gz nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar.bz2 nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar.lz nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar.xz nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.tar.zst nixpkgs-ffa65afdcd67a89f4b7f8f309e3dcc8a80ed98aa.zip |
edk2: use python env
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/edk2/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix index 411c86249dd..bb211e55343 100644 --- a/pkgs/development/compilers/edk2/default.nix +++ b/pkgs/development/compilers/edk2/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchgit, libuuid, python, iasl }: let + pythonEnv = python.withPackages(ps: [ps.tkinter]); targetArch = if stdenv.isi686 then "IA32" @@ -18,7 +19,7 @@ edk2 = stdenv.mkDerivation { sha256 = "0s9ywb8w7xzlnmm4kwzykxkrdaw53b7pky121cc9wjkllzqwyxrb"; }; - buildInputs = [ libuuid python python.tkinter ]; + buildInputs = [ libuuid pythonEnv]; makeFlags = "-C BaseTools"; @@ -40,7 +41,7 @@ edk2 = stdenv.mkDerivation { passthru = { setup = projectDscPath: attrs: { - buildInputs = [ python python.tkinter ] ++ + buildInputs = [ pythonEnv ] ++ stdenv.lib.optionals (attrs ? buildInputs) attrs.buildInputs; configurePhase = '' |