|
|
|
@ -23,10 +23,10 @@ let |
|
|
|
|
|
|
|
|
|
inherit (pkgs) perl pathsFromGraph; |
|
|
|
|
nix = config.environment.nix; |
|
|
|
|
nixpkgsURL = cfg.nixpkgsURL; |
|
|
|
|
nixosURL = cfg.nixosURL; |
|
|
|
|
|
|
|
|
|
nixClosure = pkgs.runCommand "closure" |
|
|
|
|
{exportReferencesGraph = ["refs" config.environment.nix];} |
|
|
|
|
{ exportReferencesGraph = ["refs" config.environment.nix]; } |
|
|
|
|
"cp refs $out"; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -84,9 +84,9 @@ in |
|
|
|
|
{ |
|
|
|
|
options = { |
|
|
|
|
|
|
|
|
|
installer.nixpkgsURL = pkgs.lib.mkOption { |
|
|
|
|
default = ""; |
|
|
|
|
example = http://nixos.org/releases/nix/nixpkgs-0.11pre7577; |
|
|
|
|
installer.nixosURL = pkgs.lib.mkOption { |
|
|
|
|
default = http://nixos.org/releases/nixos/channels/nixos-unstable; |
|
|
|
|
example = http://nixos.org/releases/nixos/nixos-0.1pre1234; |
|
|
|
|
description = '' |
|
|
|
|
URL of the Nixpkgs distribution to use when building the |
|
|
|
|
installation CD. |
|
|
|
|