virt-manager: use setupPyGlobalFlags
This commit is contained in:
parent
e89b21504f
commit
3d7d72bc46
@ -9,10 +9,6 @@
|
|||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
# TODO: remove after there's support for setupPyDistFlags
|
|
||||||
let
|
|
||||||
setuppy = ../../../development/interpreters/python/run_setup.py;
|
|
||||||
in
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
name = "virt-manager-${version}";
|
name = "virt-manager-${version}";
|
||||||
version = "2.2.1";
|
version = "2.2.1";
|
||||||
@ -49,13 +45,7 @@ python3Packages.buildPythonApplication rec {
|
|||||||
${python3Packages.python.interpreter} setup.py configure --prefix=$out
|
${python3Packages.python.interpreter} setup.py configure --prefix=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# TODO: remove after there's support for setupPyDistFlags
|
setupPyGlobalFlags = [ "--no-update-icon-cache" ];
|
||||||
buildPhase = ''
|
|
||||||
runHook preBuild
|
|
||||||
cp ${setuppy} nix_run_setup
|
|
||||||
${python3Packages.python.pythonForBuild.interpreter} nix_run_setup --no-update-icon-cache build_ext bdist_wheel
|
|
||||||
runHook postBuild
|
|
||||||
'';
|
|
||||||
|
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
|
gappsWrapperArgs+=(--set PYTHONPATH "$PYTHONPATH")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user