forked from mirrors/nixpkgs
firefox-bin: fix parameter of updateScript
This commit is contained in:
parent
75c787a4f0
commit
732b2f8759
|
@ -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/"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue