chromedriver: fix build failure on aarch64-darwin#329204
Conversation
|
Is unzip only necessary on Darwin then? |
|
Hmm, apparently -- I'll make it conditional. |
|
Wait, I'm confused. How do we have unzip on Linux, but not Darwin? Does our default unpacking logic handle different file types depending on platform? What the fuck |
|
I was wondering the same. |
|
Wait, I'm an idiot. We're doing a source build on Linux now, so this expression isn't even hit. We can probably drop all the conditionals and make it Darwin only then, because it's not like there are binaries for other systems anyway. |
|
Yes, I thought maybe it had been exposed as a separate I'd be happy to pull out the linux stuff from |
|
I think that's the way to go, yeah. |
|
Done. As this modified quite a bit of the file I also formatted (RFC style). |
Darwin seems to need `unzip` and chokes on `autoPatchelfHook`. Because linux now builds from source, the package has been updated to remove references to Linux-specific settings and build options, remove the conditionals checking for darwin, and adjust the platforms to reflect that the binary chromedriver is darwin-only. Fixes NixOS#329202
Darwin seems to need
unzipand chokes onautoPatchelfHook.Fixes #329202
Description of changes
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.