forked from mirrors/nixpkgs
build-support/vm/deb/deb-closure: quote generated urls
otherwise, eval fails when the experimental no-url-literals feature is activated unquoted urls are discouraged after https://github.com/NixOS/rfcs/pull/45
This commit is contained in:
parent
06365ba454
commit
3f8ad50f9a
|
@ -156,7 +156,7 @@ foreach my $pkgName (@order) {
|
||||||
$cleanedName =~ s/~//g;
|
$cleanedName =~ s/~//g;
|
||||||
|
|
||||||
print " (fetchurl {\n";
|
print " (fetchurl {\n";
|
||||||
print " url = $urlPrefix/$cdata->{Filename};\n";
|
print " url = \"$urlPrefix/$cdata->{Filename}\";\n";
|
||||||
print " sha256 = \"$cdata->{SHA256}\";\n";
|
print " sha256 = \"$cdata->{SHA256}\";\n";
|
||||||
print " name = \"$cleanedName\";\n" if $cleanedName ne $origName;
|
print " name = \"$cleanedName\";\n" if $cleanedName ne $origName;
|
||||||
print " })\n";
|
print " })\n";
|
||||||
|
|
Loading…
Reference in a new issue