What does the <nixpkgs> string / value mean in Nix?
问题 For example in the following (which I assume is a nix expression): (import <nixpkgs> {}).haskellPackages.ghcWithPackages (hpkgs: with hpkgs; [ lens aeson turtle ]) What does <nixpkgs> reference? I also see it used in other contexts for example: nix-shell '<nixpkgs>' -A linuxPackages.kernel 回答1: <nixpkgs> is a Nix expression that is evaluated by looking at the Nix search path in the NIX_PATH environment variable and/or -I option. It is described in more detail in the Nix manual. Note that the