JuliaLang / juliaup

Julia installer and version multiplexer
MIT License
932 stars 81 forks source link

add flake.nix #878

Open sjkelly opened 3 months ago

sjkelly commented 3 months ago

This adds a flake.nix which can be used to build and retrieve juliaup from the nix package manager. It uses the rustPlatform.buildRustPackage function from nixpkgs to build the Rust package, and the 23.11 pkg distribution.

Nix makes it easy to build and install juliaup, either by running nix build or nix run in the project directory or by referencing the flake from another nix configuration.