cross: allow makeWrapper in emulated builds

This commit is contained in:
2023-08-06 01:51:55 +00:00
parent 4b072ecbe5
commit a4860c3963

View File

@@ -106,7 +106,7 @@ let
let
# patch packages which can't ordinarily exist in buildPackages
preFixPkg = p:
if p.name == "make-shell-wrapper-hook" then
if p.name or null == "make-shell-wrapper-hook" then
p.overrideAttrs (_: {
# unconditionally use the outermost targetPackages shell
shell = final.runtimeShell;