nix: Enabled tooling with cargo2nix #41
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/wikiparser#41
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "jpds/nix-tooling"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I did this as part of the testing for the LTO change and just making it easier to do builds across my laptop and test server.
Basically, one just needs to install Nix on their machine: https://zero-to-nix.com/start/install
...and then instead of developers having to bootstrap their own Rust (in this case)/C++/Python/JavaScript toolchains on their systems, they just run:
...the tool then fetches the required (and pinned) toolchain and performs the build of the project.
Debug builds can be done with:
Just a thought as people mentioned that developer speed was important.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.