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

Fix nix build #290

Merged
merged 3 commits into from
Jun 10, 2024
Merged

Fix nix build #290

merged 3 commits into from
Jun 10, 2024

Conversation

r-vdp
Copy link
Contributor

@r-vdp r-vdp commented Jun 10, 2024

The nix build was building the wrong crate and was not actually building any binaries, with this change we set sourceRoot correctly so that we build the correct crates.

The first commit is just changing how we instantiate the crane lib since we got a deprecation warning. The diff looks big because I introduced a new let binding which caused the rest of the code to get indented, but only one line actually changed.

Flake lock file updates:

• Updated input 'crane':
    'github:ipetkov/crane/19ca94ec2d288de334ae932107816b4a97736cd8' (2024-05-26)
  → 'github:ipetkov/crane/17d9e9dedd58dde2c562a4296934c6d6a0844534' (2024-06-09)
@r-vdp
Copy link
Contributor Author

r-vdp commented Jun 10, 2024

I updated the crane dependency to avoid running into ipetkov/crane#631

@LeeSmet
Copy link
Contributor

LeeSmet commented Jun 10, 2024

Thanks

@LeeSmet LeeSmet merged commit cc0fec3 into threefoldtech:master Jun 10, 2024
17 checks passed
@r-vdp r-vdp deleted the fix-nix-build branch June 10, 2024 11:33
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.

2 participants