* nixos-checkout depends on subversion. (The original nixos-checkout

did a "nix-env -i subversion", which may be preferable to a static
  dependency.)

svn path=/nixos/trunk/; revision=27006
This commit is contained in:
Eelco Dolstra 2011-04-27 15:42:14 +00:00
parent 41a8f23189
commit b8a1e98180
1 changed files with 8 additions and 3 deletions

View File

@ -28,13 +28,18 @@ let
fi
# Check out the NixOS and Nixpkgs sources.
svn co https://svn.nixos.org/repos/nix/nixos/trunk nixos
svn co https://svn.nixos.org/repos/nix/nixpkgs/trunk nixpkgs
${pkgs.subversion}/bin/svn co https://svn.nixos.org/repos/nix/nixos/trunk nixos
${pkgs.subversion}/bin/svn co https://svn.nixos.org/repos/nix/nixpkgs/trunk nixpkgs
'';
};
in
{
environment.systemPackages = [ nixosCheckout ];
environment.systemPackages =
[ nixosCheckout
# Since the checkout script depends on Subversion, we may as
# well put it in $PATH.
pkgs.subversion
];
}