Hi, On 05/07/12 17:02, Mathijs Kwik wrote:
>> And a question about NIX_PATH: >> by default it's >> > NIX_PATH='/nix/var/nix/profiles/per-user/root/channels/nixos:nixpkgs=/etc/nixos/nixpkgs:nixos=/etc/nixos/nixos:nixos-config=/etc/nixos/configuration.nix:services=/etc/nixos/services' >> >> I understand the name=value pairs give the <name> syntax, but how does a >> plain > dirname (like the channels/nixos dir) get handled? See the description of NIX_PATH in nix-env(1). >> I see it contains nixos and nixpkgs, but also a cryptic default.nix The default.nix just includes Nixpkgs so that nix-env can find the Nixpkgs copy in the NixOS channel. >> My local /home/mathijs/nix-dev dir contains nixos and nixpkgs. >> If I want to switch to using those instead of the channel (temporarily), can >> I > just point NIX_PATH there? Yes, or use -I (e.g. "nixos-rebuild switch -I ~mathijs/nix-dev"). -- Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/ _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
