haskellPackages.entropy: build with js backend#336209
Merged
maralorn merged 1 commit intoNixOS:haskell-updatesfrom Aug 21, 2024
Merged
haskellPackages.entropy: build with js backend#336209maralorn merged 1 commit intoNixOS:haskell-updatesfrom
maralorn merged 1 commit intoNixOS:haskell-updatesfrom
Conversation
Oh yea this would not be surprising to me. Especially because there has been a lot of churn of these |
|
ideally, for cross-compiling, |
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.
Description of changes
@doyougnu
nix-build -A pkgsCross.ghcjs.haskell.packages.ghc98.entropyactually builds but the logs showIt seems
#ifdef arch_x86_64is wrongly being evaluated as true in https://github.com/haskell/entropy/blob/5d0c71ef2b95b2f6314fbb6a24be7bb39dba99bb/cbits/rdrand.c#L14C1-L15C1I don't see this test error on a project where I use ghcjs 8.10, even though that file had no changes in 9 years so I suspect it's something specific to the js backend.
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.