xen: fix pygrub by making sure it is wrapped

Recent commit #c10af9e744c91dff1ccc07a52a0b57d1e4d339f3 changed the
behaviour of wrapPythonPrograms, which caused pygrub to no longer
being wrapped. This commit fixes this.
This commit is contained in:
Michał Pałka 2017-06-09 06:17:51 +00:00
parent bcf9af560a
commit 965668903a

View File

@ -204,6 +204,8 @@ stdenv.mkDerivation (rec {
--replace SBINDIR=\"$out/sbin\" SBINDIR=\"$out/bin\"
wrapPythonPrograms
# We also need to wrap pygrub, which lies in lib
wrapPythonProgramsIn "$out/lib" "$out $pythonPath"
shopt -s extglob
for i in $out/etc/xen/scripts/!(*.sh); do