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:
Artemis Tosini 2024-11-05 22:13:40 +00:00
parent 19a0c22484
commit 97c0dbaf3e
No known key found for this signature in database
GPG Key ID: EE5227935FE3FF18

View File

@ -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 = ''