Merge pull request #51421 from pbogdan/update-scripts-eval
nodejs.updateScript, thunderbird.updateScript: fix evaluation
This commit is contained in:
commit
3008c2a620
|
@ -202,6 +202,6 @@ in stdenv.mkDerivation rec {
|
||||||
passthru.updateScript = import ./../../browsers/firefox/update.nix {
|
passthru.updateScript = import ./../../browsers/firefox/update.nix {
|
||||||
attrPath = "thunderbird";
|
attrPath = "thunderbird";
|
||||||
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
|
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
|
||||||
inherit writeScript lib common-updater-scripts xidel coreutils gnused gnugrep curl;
|
inherit stdenv writeScript lib common-updater-scripts xidel coreutils gnused gnugrep curl;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,7 +101,7 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = import ./update.nix {
|
passthru.updateScript = import ./update.nix {
|
||||||
inherit writeScript coreutils gnugrep jq curl common-updater-scripts gnupg nix;
|
inherit stdenv writeScript coreutils gnugrep jq curl common-updater-scripts gnupg nix;
|
||||||
inherit (stdenv) lib;
|
inherit (stdenv) lib;
|
||||||
majorVersion = with stdenv.lib; elemAt (splitString "." version) 0;
|
majorVersion = with stdenv.lib; elemAt (splitString "." version) 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue