Merge pull request #325202 from vcunat/p/onboard-fixup

onboard: fixup install with python 3.12
This commit is contained in:
Martin Weinelt 2024-07-07 15:24:54 +02:00 committed by GitHub
commit 28ce4a0185
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -157,8 +157,9 @@ python3.pkgs.buildPythonApplication rec {
--replace '"killall",' '"${procps}/bin/pkill", "-x",'
'';
# setuptools to get distutils with python 3.12
installPhase = ''
${python3.interpreter} setup.py install --prefix="$out"
${(python3.withPackages (p: [ p.setuptools ])).interpreter} setup.py install --prefix="$out"
cp onboard-default-settings.gschema.override.example $out/share/glib-2.0/schemas/10_onboard-default-settings.gschema.override
glib-compile-schemas $out/share/glib-2.0/schemas/