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-12 20:27:58 +00:00
co-authored by Audrey Dutcher
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 = ''