replace makeSearchPath tree-wise to take care of possible multiple outputs
This commit is contained in:
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/bin
|
||||
cat <<EOF >$out/bin/imgurbash2
|
||||
#!${bash}/bin/bash
|
||||
PATH=${stdenv.lib.makeSearchPath "bin" [curl xsel]}:\$PATH
|
||||
PATH=${stdenv.lib.makeBinPath [curl xsel]}:\$PATH
|
||||
EOF
|
||||
cat imgurbash2 >> $out/bin/imgurbash2
|
||||
chmod +x $out/bin/imgurbash2
|
||||
|
||||
Reference in New Issue
Block a user