@@ -1,6 +1,7 @@
11{ stdenv, fetchgit, libuuid, python, iasl }:
22
33let
4+ pythonEnv = python.withPackages(ps: [ps.tkinter]);
45
56targetArch = if stdenv.isi686 then
67 "IA32"
@@ -18,7 +19,7 @@ edk2 = stdenv.mkDerivation {
1819 sha256 = "0s9ywb8w7xzlnmm4kwzykxkrdaw53b7pky121cc9wjkllzqwyxrb";
1920 };
2021
21− buildInputs = [ libuuid python python.tkinter ];
22+ buildInputs = [ libuuid pythonEnv];
2223
2324 makeFlags = "-C BaseTools";
2425
@@ -40,7 +41,7 @@ edk2 = stdenv.mkDerivation {
4041
4142 passthru = {
4243 setup = projectDscPath: attrs: {
43− buildInputs = [ python python.tkinter ] ++
44+ buildInputs = [ pythonEnv ] ++
4445 stdenv.lib.optionals (attrs ? buildInputs) attrs.buildInputs;
4546
4647 configurePhase = ''