git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #21064 from taku0/firefox-bin-fix-update-script

firefox-bin: fix updateScript

commitd009ac1ce5f1e8b0dd44a4e5d4bc4a553d4ddb88 authorMichael Raskin <7c6f434c@mail.ru> dateWed 14 Dec 2016, 12:13 (10 years ago) parent37c10c48e7ea17
1 file changed+2−2
pkgs/applications/networking/browsers/firefox-bin/default.nix+2−2
pkgs/applications/networking/browsers/firefox-bin/default.nix+2−2
@@ -223,7 +223,7 @@ stdenv.mkDerivation {
223223 tr " " ":"`; do
224224 # create an entry for every locale
225225 cat >> $tmpfile <<EOF
226− { url = "$url$version/$arch/`echo $line | cut -d":" -f3`";"
226+ { url = "$url$version/`echo $line | cut -d":" -f3`";
227227 locale = "`echo $line | cut -d":" -f3 | sed "s/$arch\///" | sed "s/\/.*//"`";
228228 arch = "$arch";
229229 sha512 = "`echo $line | cut -d":" -f1`";
@@ -236,7 +236,7 @@ stdenv.mkDerivation {
236236 }
237237 EOF
238238
239− cat $tmpfile > ${if isBeta then "beta_" else ""}sources.nix
239+ mv $tmpfile ${if isBeta then "beta_" else ""}sources.nix
240240
241241 popd
242242 '';