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
Update FPGA tools #71238
Update FPGA tools #71238
Conversation
92b4fc3
to
7c7f70b
Compare
pkgs/development/haskell-modules/configuration-hackage2nix.yaml
Outdated
Show resolved
Hide resolved
7c7f70b
to
14fd67f
Compare
14fd67f
to
46b2813
Compare
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.
Good stuff as usual, thanks @emilazy. Let's go ahead and merge -- since our aarch64 builders are the fastest and actually completed, I'll assume things are perfect in every way and nothing could possibly go wrong (if something spooky crops up on say, Darwin, we'll see it in Hydra later)
checkInputs = [ yosys yices ]; | ||
|
||
postPatch = let | ||
tool = pkg: name: | ||
if pkg == null then {} else { ${name} = "${pkg}/bin/${name}"; }; | ||
|
||
# Only FOSS toolchain supported out of the box, sorry! | ||
toolchainOverrides = | ||
tool yosys "yosys" // | ||
tool symbiyosys "sby" // | ||
tool nextpnr "nextpnr-ice40" // | ||
tool nextpnr "nextpnr-ecp5" // | ||
tool icestorm "icepack" // | ||
tool trellis "ecppack"; | ||
in '' | ||
substituteInPlace nmigen/_toolchain.py \ | ||
--replace 'overrides = {}' \ | ||
'overrides = ${builtins.toJSON toolchainOverrides}' | ||
''; |
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.
❤️
Motivation for this change
nMigen 0.1 is approaching release, so here's another bump of the FOSS FPGA tools. I've also marked the Clash Haskell packages as unbroken, since as of the 1.0 release they seem to compile and work fine here.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)