New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
geckodriver: 0.22.0 -> 0.26.0 #77802
Conversation
src = let | ||
# Source revisions are noted alongside the binary releases: | ||
# https://github.com/mozilla/geckodriver/releases | ||
rev = "e9783a644016aa9b317887076618425586730d73"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be cleaner to just inline this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somewhat strongly disagree, but can do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you strongly disagree, feel free to leave it as you like. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shrug I'm not invested either way :p
url = "https://hg.mozilla.org/mozilla-central/archive/${rev}.zip/testing"; | ||
sha256 = "0m86hqyq1jrr49jkc8mnlmx4bdq281hyxhcrrzacyv20nlqwvd8v"; | ||
}).overrideAttrs (_: { | ||
unpackCmd = "unzip $curSrc"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might be a better way to do this? This is here because unpack phases choose the command based on file extension and fetchzip
as far as I know doesn't provide a way to change the filename.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about
unpackPhase = ''
unzip $src
'';
With a comment about why the normal unpackPhase doesn’t work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you prefer it as you have it now that’s also fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if that will work? fetchzip
explicitly calls unpackFile
as part of postFetch
, but it makes sense to add a comment regarding why it's there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you’re right. :(
294ee60
to
480f351
Compare
Closes #76464 (see there for some discussion regarding what happened to the source)
Motivation for this change
0.22.0
is well over a year old.Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)