mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-04 01:42:53 +03:00
netbsd: there is no /usr/bin/env in the nix sandbox, use /bin/sh
This commit is contained in:
parent
d08ff06d0a
commit
9e2bd0ddc2
@ -231,7 +231,7 @@ let
|
|||||||
# HACK to ensure parent directories exist. This emulates GNU
|
# HACK to ensure parent directories exist. This emulates GNU
|
||||||
# install’s -D option. No alternative seems to exist in BSD install.
|
# install’s -D option. No alternative seems to exist in BSD install.
|
||||||
install = let binstall = writeText "binstall" ''
|
install = let binstall = writeText "binstall" ''
|
||||||
#!/usr/bin/env sh
|
#!/bin/sh
|
||||||
for last in $@; do true; done
|
for last in $@; do true; done
|
||||||
mkdir -p $(dirname $last)
|
mkdir -p $(dirname $last)
|
||||||
xinstall "$@"
|
xinstall "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user