Fix nix build#8282
Open
link2xt wants to merge 1 commit into
Open
Conversation
sphinx_rtd_theme has been renamed to sphinx-rtd-theme
Moving pthreads to buildInputs fixes this error:
error: Refusing to evaluate package 'mingw_w64-pthreads-13.0.0' in /nix/store/f78lkqnk63pd0kf52zf2wcx35p1nnalr-source/pkgs/os-specific/windows/mingw-w64/headers.nix:35 because it is not available on the requested hostPlatform:
hostPlatform.system = "x86_64-linux"
package.meta.platforms = [
"aarch64-windows"
"x86_64-windows"
"i686-windows"
]
package.meta.badPlatforms = [ ]
b7fa826 to
872e960
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There has been a recent update to crates.io that resulted in crates.io refusing downloads to nix downloader based on the user agent.
The solution is NixOS/nixpkgs#524985, but this requires updating nixpkgs and upgrading resulted in other required changes. Switched to
masterbranch of nixpkgs because it is the only one including the fix atm: https://nixpk.gs/pr-tracker.html?pr=524985naerskalso needs a similar fix, I have switched to PR branch while it is not merged: nix-community/naersk#391sphinx_rtd_theme has been renamed to sphinx-rtd-theme
Moving pthreads to buildInputs fixes this error: