Skip to content
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

Support building nextpnr with nix flakes #1296

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RCoeurjoly
Copy link

So far GUI is disabled, because nixpkgs has only qt6, and not qt5.

If enabling the GUI is required, with a little more love it should be doable.

flake.nix Outdated Show resolved Hide resolved
@rowanG077
Copy link
Contributor

rowanG077 commented Feb 29, 2024

I would like this see the flake replace the shell.nix. Important there are the environment variables that need to be set so cmake can find the deps in the dev shell.

@RCoeurjoly
Copy link
Author

RCoeurjoly commented Mar 1, 2024

I would like this see the flake replace the shell.nix. Important there are the environment variables that need to be set so cmake can find the deps in the dev shell.

I have added a devShell to flake.nix, and the shellHook to it, copied from shell.nix (thanks for the pointer!).

However, when inside the devShell, I am unable to compile nextpnr.
I have tried several architectures (all, ice40, ecp5).

All fail.

Maybe leave the devShell as it is, a WIP?

flake.nix Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants