From 9e2bd0ddc2046e91c684c2b499614d553c893bf4 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 20 Sep 2018 23:00:45 -0500 Subject: [PATCH] netbsd: there is no /usr/bin/env in the nix sandbox, use /bin/sh --- pkgs/os-specific/bsd/netbsd/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/bsd/netbsd/default.nix b/pkgs/os-specific/bsd/netbsd/default.nix index 3ef458c1ca9..9c55aa41839 100644 --- a/pkgs/os-specific/bsd/netbsd/default.nix +++ b/pkgs/os-specific/bsd/netbsd/default.nix @@ -231,7 +231,7 @@ let # HACK to ensure parent directories exist. This emulates GNU # install’s -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 "$@"