Add default.nix and shell.nix #2

Open
Artturin wants to merge 1 commit from adddefaultshellnix into main
Collaborator

Supersedes #1
No flake like you asked

The build works with the versions from nixpkgs instead of the versions in the README

TOPMODULE=mkTop make v_compile also works with these versions but it's not included in the package since you didn't ask for those to be installed

$ nix eval --json --file . "nativeBuildInputs" | nix-shell -p jq --run jq

trace: (Using pinned Nixpkgs at 3a228057f5b619feb3186e986dbe76278d707b6e from 2025-02-02 nixos-unstable)
[
  "/nix/store/w5z9gi5sl82lb3zwwf8ilf3b2v1b81by-bluespec-2024.07",
  "/nix/store/vpghhawd1czi7aq4n3ramr3yvwqa3i51-nextpnr-0.7",
  "/nix/store/qw8f4mwr8x5n3w4bwh4k5q8c24x63gnl-openfpgaloader-0.13.1",
  "/nix/store/x97c8y1h2j2h98whvjs2hjz91kg2rz1z-trellis-unstable-2022-09-14",
  "/nix/store/gxyvc1klm0b64ilb95krg9zcnhpc0g1n-which-2.21",
  "/nix/store/90vvr8324jfcrz3phza1rvbasi72adqd-yosys-0.49"
]
Supersedes https://git.joyofhardware.com/ReferenceProjects/fpga-starter-project-uart/pulls/1 No flake like you asked The build works with the versions from nixpkgs instead of the versions in the README `TOPMODULE=mkTop make v_compile` also works with these versions but it's not included in the package since you didn't ask for those to be installed ``` $ nix eval --json --file . "nativeBuildInputs" | nix-shell -p jq --run jq trace: (Using pinned Nixpkgs at 3a228057f5b619feb3186e986dbe76278d707b6e from 2025-02-02 nixos-unstable) [ "/nix/store/w5z9gi5sl82lb3zwwf8ilf3b2v1b81by-bluespec-2024.07", "/nix/store/vpghhawd1czi7aq4n3ramr3yvwqa3i51-nextpnr-0.7", "/nix/store/qw8f4mwr8x5n3w4bwh4k5q8c24x63gnl-openfpgaloader-0.13.1", "/nix/store/x97c8y1h2j2h98whvjs2hjz91kg2rz1z-trellis-unstable-2022-09-14", "/nix/store/gxyvc1klm0b64ilb95krg9zcnhpc0g1n-which-2.21", "/nix/store/90vvr8324jfcrz3phza1rvbasi72adqd-yosys-0.49" ] ```
Artturin added 1 commit 2025-02-03 23:11:46 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin adddefaultshellnix:adddefaultshellnix
git checkout adddefaultshellnix

Merge

Merge the changes and update on Forgejo.
git checkout main
git merge --no-ff adddefaultshellnix
git checkout main
git merge --ff-only adddefaultshellnix
git checkout adddefaultshellnix
git rebase main
git checkout main
git merge --no-ff adddefaultshellnix
git checkout main
git merge --squash adddefaultshellnix
git checkout main
git merge --ff-only adddefaultshellnix
git checkout main
git merge adddefaultshellnix
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ReferenceProjects/fpga-starter-project-uart#2
No description provided.