makeBinaryWrapper.extractCmd: fix use in cross compilation
This commit is contained in:
parent
e5d8baafcd
commit
c6e11d15ce
@ -19,7 +19,7 @@ makeSetupHook {
|
|||||||
passthru = {
|
passthru = {
|
||||||
# Extract the function call used to create a binary wrapper from its embedded docstring
|
# Extract the function call used to create a binary wrapper from its embedded docstring
|
||||||
extractCmd = writeShellScript "extract-binary-wrapper-cmd" ''
|
extractCmd = writeShellScript "extract-binary-wrapper-cmd" ''
|
||||||
strings -dw "$1" | sed -n '/^makeCWrapper/,/^$/ p'
|
${cc.bintools.targetPrefix}strings -dw "$1" | sed -n '/^makeCWrapper/,/^$/ p'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
tests = tests.makeBinaryWrapper;
|
tests = tests.makeBinaryWrapper;
|
||||||
|
Loading…
Reference in New Issue
Block a user