mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
* user-environment.nix is no longer needed, since it is now generated
by nix-env. svn path=/nixpkgs/trunk/; revision=518
This commit is contained in:
parent
026ff9466a
commit
2f3d764edb
@ -1 +1 @@
|
||||
(import ./user-environment.nix) {system = "i686-suse-linux"}
|
||||
(import ./all-packages.nix) {system = "i686-suse-linux"}
|
||||
|
@ -1,30 +0,0 @@
|
||||
# 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.nix) {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.subversion
|
||||
pkgs.pan
|
||||
pkgs.sylpheed
|
||||
pkgs.firebird
|
||||
pkgs.MPlayer
|
||||
pkgs.MPlayerPlugin
|
||||
pkgs.gqview
|
||||
];
|
||||
|
||||
# Create a user environment.
|
||||
body = derivation {
|
||||
name = "user-environment";
|
||||
system = system;
|
||||
builder = ./populate-linkdirs.pl;
|
||||
dirs = selectedPkgs;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user