mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
e456032add
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. I have tested these manually with a basic config; I don't know if it is even possible to write a nixos test for it since you can't really get a string-with-context to yourself unless you are in a flake context. |
||
---|---|---|
.. | ||
documentation | ||
nixpkgs | ||
assertions.nix | ||
crashdump.nix | ||
documentation.nix | ||
extra-arguments.nix | ||
ids.nix | ||
label.nix | ||
lib.nix | ||
locate.nix | ||
man-db.nix | ||
mandoc.nix | ||
meta.nix | ||
nixops-autoluks.nix | ||
nixpkgs-flake.nix | ||
nixpkgs.nix | ||
passthru.nix | ||
version.nix | ||
wordlist.nix |