fetchbower: quote parameter to prevent ambigious redirects if version specifiers have wildcards

This commit is contained in:
Sander van der Burg 2016-03-18 12:06:01 +00:00
parent 9a2ee42f52
commit 27e23486bb

View File

@ -1,7 +1,7 @@
{ stdenv, fetch-bower, git }: name: version: target: outputHash: stdenv.mkDerivation {
name = "${name}-${version}";
buildCommand = ''
out=$PWD/out fetch-bower ${name} ${version} ${target}
out=$PWD/out fetch-bower "${name}" "${version}" "${target}"
cp -R out $out
'';
outputHashMode = "recursive";