replace makeSearchPath tree-wise to take care of possible multiple outputs

This commit is contained in:
Nikolay Amiantov
2016-04-13 15:53:51 +03:00
parent e26119619f
commit 8b7ebaffeb
56 changed files with 71 additions and 72 deletions

View File

@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
sed_script_2 =
"'s|^MYNDKDIR=`dirname $0`" +
"|MYNDKDIR=`dirname $(readlink -f $(which $0))`|'";
runtime_paths = (lib.makeSearchPath "bin" [
runtime_paths = (lib.makeBinPath [
coreutils file findutils
gawk gnugrep gnused
jdk

View File

@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
sed_script_2 =
"'s|^MYNDKDIR=`dirname $0`" +
"|MYNDKDIR=`dirname $(readlink -f $(which $0))`|'";
runtime_paths = (lib.makeSearchPath "bin" [
runtime_paths = (lib.makeBinPath [
coreutils file findutils
gawk gnugrep gnused
jdk