1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
nix-darwin/modules/nix
Jade Lovelace 8714f9e285
flake: put nixpkgs in NIX_PATH and system registry for flake configs
Currently there are a bunch of really wacky hacks required to get
nixpkgs path correctly set up under flake configs such that `nix run
nixpkgs#hello` and `nix run -f '<nixpkgs>' hello` hit the nixpkgs that
the system was built with. In particular you have to use specialArgs or
an anonymous module, and everyone has to include this hack in their own
configs.

We can do this for users automatically.

NixOS/nixpkgs@e456032add

Co-authored-by: Antoine Cotten <hello@acotten.com>
2024-09-11 08:24:41 +02:00
..
default.nix Add sha256 for DeterminateSystems Nix installer 0.22.0 2024-08-29 10:51:52 -07:00
linux-builder.nix linux-builder: make package.nixosConfig accurate 2024-09-05 13:54:53 +10:00
nix-darwin.nix feat: system.disableInstallerTools 2024-08-21 14:29:54 +01:00
nixpkgs-flake.nix flake: put nixpkgs in NIX_PATH and system registry for flake configs 2024-09-11 08:24:41 +02:00
nixpkgs.nix treewide: remove shims for Nixpkgs ≤ 23.05 2024-06-13 14:35:20 +01:00