Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

makeBinaryWrapper: use GNU bintools for extractCmd (#379014)

authored by Pol Dellaiera and committed by GitHub 7b29eecc b76105a0

+1 -1
+1 -1
pkgs/by-name/ma/makeBinaryWrapper/package.nix
··· 25 25 passthru = { 26 26 # Extract the function call used to create a binary wrapper from its embedded docstring 27 27 extractCmd = writeShellScript "extract-binary-wrapper-cmd" '' 28 - ${cc.bintools.targetPrefix}strings -dw "$1" | sed -n '/^makeCWrapper/,/^$/ p' 28 + ${targetPackages.gnuStdenv.cc.bintools.targetPrefix}strings -dw "$1" | sed -n '/^makeCWrapper/,/^$/ p' 29 29 ''; 30 30 31 31 tests = tests.makeBinaryWrapper;