-
Notifications
You must be signed in to change notification settings - Fork 42
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
Nix flake #1093
base: dev
Are you sure you want to change the base?
Nix flake #1093
Conversation
flake.nix
Outdated
version = "1.72.0"; | ||
|
||
src = pkgs.fetchurl { | ||
url = "http://freefr.dl.sourceforge.net/project/boost/boost/1.72.0/boost_1_72_0.tar.bz2"; |
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.
Update that to 1.87 or so please.
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.
righto
Still needs the following:
|
Nix stuff added to PR description. The submodule-fu is described in the Vlasiator wiki and thus do not involve this PR |
So I have been using this for a while and thought people might like it. If the nix package manager is available (like on many systems e.g mine) this flake can build a full environment and produce a fresh Vlasiator binary. The flake installs all dependencies the "nix way" and exposes flags that are used by the
Makefile.nix
makefile. And that's all.Instructions:
Install nix on you system and allow
extra-epxerimental-features = flakes, nix-command
vlasiator
nix develop --impure
*This could also heavily be used/abused to ease the CI builds especially with rocm/nvcc later on