Skip to content

Commit

Permalink
Use Nix 2.25.2, which now doesn't need a patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
noamraph committed Nov 17, 2024
1 parent d4b9523 commit 81605db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ nixsa/bin/nix profile install nixpkgs#ponysay
nixsa/bin/ponysay 'Hi Nixsa!'
```

Note: Nixsa currently uses a patched version of Nix, which supports environment variables like NIX_STATE_HOME. The [pull request](https://github.com/NixOS/nix/pull/11351) was merged, so hopefully when the next major Nix version is released, Nixsa will ship with the standard Nix version.

[![asciicast](https://github.com/user-attachments/assets/f8e1919f-0f63-4ef1-8a54-57b385b1b6de)](https://asciinema.org/a/672748)

One more feature: run `nixsa/bin/nixsa` to start a shell where `/nix` is binded to `nixsa/nix`, and where all the commands in the Nix profile (in `nixsa/state/profile`) are in the PATH.
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
};

nix = {
url = "github:noamraph/nix/add-nix-state-home-2.24.4";
# url = "https://flakehub.com/f/DeterminateSystems/nix/=2.23.3.tar.gz";
url = "github:NixOs/nix/2.25.2";
};
};

Expand Down

0 comments on commit 81605db

Please sign in to comment.