1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 16:42:09 +00:00

firefox-bin: fix parameter of updateScript

This commit is contained in:
taku0 2021-08-09 19:09:43 +09:00
parent 75c787a4f0
commit 732b2f8759
2 changed files with 3 additions and 3 deletions

View file

@ -187,7 +187,7 @@ stdenv.mkDerivation {
# update with:
# $ nix-shell maintainers/scripts/update.nix --argstr package firefox-bin-unwrapped
passthru.updateScript = import ./update.nix {
inherit pname version channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
inherit pname channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
baseUrl =
if channel == "devedition"
then "http://archive.mozilla.org/pub/devedition/releases/"

View file

@ -1,4 +1,4 @@
{ name
{ pname
, channel
, writeScript
, xidel
@ -17,7 +17,7 @@ let
isBeta =
channel != "release";
in writeScript "update-${name}" ''
in writeScript "update-${pname}" ''
#!${runtimeShell}
PATH=${coreutils}/bin:${gnused}/bin:${gnugrep}/bin:${xidel}/bin:${curl}/bin:${gnupg}/bin
set -eux