mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
openbsd.make-rules: Fix hardcoded /bin/pwd
OpenBSD loves hardcoding paths to programs. The only example of this in `bsd.obj.mk` is `/bin/pwd`, so `substituteInPlace` is fine. Co-Authored-By: Audrey Dutcher <audrey@rhelmot.io>
This commit is contained in:
parent
19a0c22484
commit
97c0dbaf3e
@ -34,6 +34,8 @@ mkDerivation {
|
||||
sed -i -E \
|
||||
-e 's|/usr/lib|\$\{LIBDIR\}|' \
|
||||
share/mk/bsd.prog.mk
|
||||
|
||||
substituteInPlace share/mk/bsd.obj.mk --replace-fail /bin/pwd pwd
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
Loading…
Reference in New Issue
Block a user