Unverified Commit 97c0dbaf authored by Artemis Tosini's avatar Artemis Tosini
Browse files

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: default avatarAudrey Dutcher <audrey@rhelmot.io>
parent 19a0c224
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 = ''