nixpkgs/pkgs-ng/system/user-environment.fix
Eelco Dolstra 4cf6ec5ef5 * Converted some more packages.
* Subversion no longer needs libxml2 (just expat).

svn path=/nixpkgs/trunk/; revision=478
2003-11-05 12:17:48 +00:00

26 lines
749 B
Plaintext

# Given a system identifier, this function returns a derivation of a
# user environment, i.e., a set of symbolic links to `activated'
# packages. The resulting package is typically passed to the
# `nix-switch' command in order to actually activate it.
{system}: let {
# All activated packages.
pkgs = (import ./all-packages.fix) {system = system};
# The packages selection for inclusion in the user environment.
# This list should be generated automatically by a package
# management user interface.
selectedPkgs = [
pkgs.aterm
pkgs.subversion
];
# Create a user environment.
body = derivation {
name = "user-environment";
system = system;
builder = ./populate-linkdirs.pl;
dirs = selectedPkgs;
};
}