noweb: fix nawk binary name
The package `nawk` seems to supply the binary `nawk` not `awk`, not sure if this was always thus, or if this is a new change. ``` $ tree `nix eval -f '<nixpkgs>' --raw nawk` /nix/store/jji0m1by0nks2pdplk6xpwqq0dz8qy2s-nawk-unstable-2021-02-15 ├── bin │ └── nawk └── share └── man └── man1 └── nawk.1.gz ```
This commit is contained in:
parent
379fa1afa9
commit
adc5cb1f8a
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ lib.fix (noweb: stdenv.mkDerivation rec {
|
|||
# NOTE: substituteInPlace breaks Icon binaries, so make sure the script
|
||||
# uses (n)awk before calling.
|
||||
if grep -q nawk "$f"; then
|
||||
substituteInPlace "$f" --replace "nawk" "${nawk}/bin/awk"
|
||||
substituteInPlace "$f" --replace "nawk" "${nawk}/bin/nawk"
|
||||
fi
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue