Skip to content

Conversation

phip1611
Copy link
Member

@phip1611 phip1611 commented Mar 2, 2025

This modernizes the Nix files of this project. Nix Flakes are the de-facto standard way in Nix to package projects and specify their inputs. Inputs can be any Nix or non-Nix project.

Updating Nix dependencies now is as easy as nix flake update and a corresponding commit.

As they are still not stabilized yet, you need the line

experimental-features = nix-command flakes

in /etc/nix/nix.conf to use the flake. By usage, I mean entering the Nix development shell using $ nix develop . or if you want to run nix flake update.

The package manager niv, we used to have, is basically dead.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

This modernizes the Nix files of this project. Nix Flakes are the
de-facto standard way in Nix to package projects and specify their
inputs. Inputs can be any Nix or non-Nix project.

Updating Nix dependencies now is as easy as `nix flake update` and
a corresponding commit.

As they are still not stabilized yet, you need the line

    experimental-features = nix-command flakes

in /etc/nix/nix.conf to use the flake. By usage, I mean entering
the Nix development shell using `$ nix develop .` or if you want
to run `nix flake update`.

The package manager niv, we used to have, is basically dead.
@phip1611 phip1611 requested a review from nicholasbishop March 5, 2025 15:40
@nicholasbishop nicholasbishop added this pull request to the merge queue Mar 5, 2025
Merged via the queue into rust-osdev:main with commit 848be99 Mar 5, 2025
16 checks passed
@phip1611 phip1611 deleted the flake branch May 1, 2025 09:13
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