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

nix: switch to Nix Flake #1560

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

nix: switch to Nix Flake #1560

wants to merge 1 commit into from

Conversation

phip1611
Copy link
Contributor

@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.
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.

1 participant