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:
parent
bcf9af560a
commit
965668903a
@ -204,6 +204,8 @@ stdenv.mkDerivation (rec {
|
|||||||
--replace SBINDIR=\"$out/sbin\" SBINDIR=\"$out/bin\"
|
--replace SBINDIR=\"$out/sbin\" SBINDIR=\"$out/bin\"
|
||||||
|
|
||||||
wrapPythonPrograms
|
wrapPythonPrograms
|
||||||
|
# We also need to wrap pygrub, which lies in lib
|
||||||
|
wrapPythonProgramsIn "$out/lib" "$out $pythonPath"
|
||||||
|
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
for i in $out/etc/xen/scripts/!(*.sh); do
|
for i in $out/etc/xen/scripts/!(*.sh); do
|
||||||
|
Loading…
Reference in New Issue
Block a user