Unverified Commit 9466d153 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #255188 from NickCao/make-binary-wrapper

makeBinaryWrapper.extractCmd: fix use in cross compilation
parents bb123538 c6e11d15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ makeSetupHook {
  passthru = {
    # Extract the function call used to create a binary wrapper from its embedded docstring
    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;