2003-11-02 18:42:19 +01:00
|
|
|
# This file evaluates to a function that, when supplied with a system
|
|
|
|
# identifier and a standard build environment, returns the set of all
|
|
|
|
# packages provided by the Nix Package Collection.
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
{system, stdenv}: rec {
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
### BUILD SUPPORT
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = (import ../build-support/fetchurl) {
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### TOOLS
|
|
|
|
|
|
|
|
coreutils = (import ../tools/misc/coreutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
findutils = (import ../tools/misc/findutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
diffutils = (import ../tools/text/diffutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 19:14:24 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnused = (import ../tools/text/gnused) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnugrep = (import ../tools/text/gnugrep) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
pcre = pcre;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gawk = (import ../tools/text/gawk) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 19:14:24 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnutar = (import ../tools/archivers/gnutar) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gzip = (import ../tools/compression/gzip) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
bzip2 = (import ../tools/compression/bzip2) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-04 09:44:46 +01:00
|
|
|
wget = (import ../tools/networking/wget) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### SHELLS
|
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
bash = (import ../shells/bash) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
|
|
|
### DEVELOPMENT
|
|
|
|
|
|
|
|
binutils = (import ../development/tools/misc/binutils) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gnumake = (import ../development/tools/build-managers/gnumake) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
gcc = (import ../development/compilers/gcc) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
binutils = binutils;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
perl = (import ../development/interpreters/perl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
pcre = (import ../development/libraries/pcre) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 18:42:19 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
glibc = (import ../development/libraries/glibc) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
kernelHeaders = kernelHeaders;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
aterm = (import ../development/libraries/aterm) {
|
2003-11-03 11:22:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
expat = (import ../development/libraries/expat) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
db4 = (import ../development/libraries/db4) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
|
|
|
|
|
|
|
openssl = (import ../development/libraries/openssl) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
perl = perl;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
### SERVERS
|
|
|
|
|
|
|
|
apacheHttpd = (import ../servers/http/apache-httpd) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
sslSupport = true;
|
|
|
|
db4Support = true;
|
|
|
|
perl = perl;
|
|
|
|
openssl = openssl;
|
|
|
|
db4 = db4;
|
|
|
|
expat = expat;
|
|
|
|
};
|
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
### OS-SPECIFIC
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
kernelHeaders = (import ../os-specific/linux/kernel-headers) {
|
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
|
|
|
};
|
2003-11-02 23:25:26 +01:00
|
|
|
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-05 13:17:48 +01:00
|
|
|
### APPLICATIONS
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-04 09:36:32 +01:00
|
|
|
subversion = (import ../applications/version-management/subversion) {
|
2003-11-03 17:18:00 +01:00
|
|
|
fetchurl = fetchurl;
|
|
|
|
stdenv = stdenv;
|
2003-11-05 13:17:48 +01:00
|
|
|
localServer = true;
|
2003-11-03 17:18:00 +01:00
|
|
|
httpServer = false;
|
2003-11-05 13:17:48 +01:00
|
|
|
sslSupport = true;
|
2003-11-03 17:18:00 +01:00
|
|
|
swigBindings = false;
|
2003-11-05 13:17:48 +01:00
|
|
|
openssl = openssl;
|
|
|
|
httpd = apacheHttpd;
|
|
|
|
db4 = db4;
|
|
|
|
expat = expat;
|
2003-11-04 09:36:32 +01:00
|
|
|
};
|
2003-11-03 19:21:30 +01:00
|
|
|
|
2003-11-03 11:22:00 +01:00
|
|
|
}
|