Skip to content

Commit

Permalink
firefoxOverlay: versionInfo: allow predef'd info
Browse files Browse the repository at this point in the history
  • Loading branch information
colemickens authored and nbp committed Sep 28, 2020
1 parent 1a4ee25 commit 9f3df31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion firefox-overlay.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ let

# The timestamp argument is a yyyy-mm-dd-hh-mm-ss date, which corresponds to
# one specific version. This is used mostly for bisecting.
versionInfo = { name, version, release, system ? arch, timestamp ? null }: with builtins;
versionInfo = { name, version, release, system ? arch, timestamp ? null, info ? null }: with builtins;
if (info != null) then info else
if release then
# For versions such as Beta & Release:
# https://download.cdn.mozilla.net/pub/firefox/releases/55.0b3/SHA256SUMS
Expand Down

0 comments on commit 9f3df31

Please sign in to comment.