netbsd: there is no /usr/bin/env in the nix sandbox, use /bin/sh

This commit is contained in:
Will Dietz 2018-09-20 23:00:45 -05:00
parent d08ff06d0a
commit 9e2bd0ddc2

View File

@ -231,7 +231,7 @@ let
# HACK to ensure parent directories exist. This emulates GNU
# installs -D option. No alternative seems to exist in BSD install.
install = let binstall = writeText "binstall" ''
#!/usr/bin/env sh
#!/bin/sh
for last in $@; do true; done
mkdir -p $(dirname $last)
xinstall "$@"