mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
fetchbower: quote parameter to prevent ambigious redirects if version specifiers have wildcards
This commit is contained in:
parent
9a2ee42f52
commit
27e23486bb
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user