1/*
2 A small release file, with few packages to be built. The aim is to reduce
3 the load on Hydra when testing the `stdenv-updates' branch.
4*/
5
6{
7 nixpkgs ? {
8 outPath = (import ../../lib).cleanSource ../..;
9 revCount = 1234;
10 shortRev = "abcdef";
11 },
12 supportedSystems ? [
13 "x86_64-linux"
14 "x86_64-darwin"
15 ],
16 # Attributes passed to nixpkgs. Don't build packages marked as unfree.
17 nixpkgsArgs ? {
18 config = {
19 allowAliases = false;
20 allowUnfree = false;
21 inHydra = true;
22 };
23
24 __allowFileset = false;
25 },
26}:
27
28let
29 release-lib = import ./release-lib.nix {
30 inherit supportedSystems nixpkgsArgs;
31 };
32
33 inherit (release-lib)
34 all
35 linux
36 darwin
37 mapTestOn
38 unix
39 ;
40in
41
42{
43
44 tarball = import ./make-tarball.nix {
45 inherit nixpkgs;
46 officialRelease = false;
47 };
48
49}
50// (mapTestOn ({
51
52 aspell = all;
53 at = linux;
54 autoconf = all;
55 automake = all;
56 avahi = unix; # Cygwin builds fail
57 bash = all;
58 bashInteractive = all;
59 bc = all;
60 binutils = linux;
61 bind = linux;
62 bsdiff = all;
63 bzip2 = all;
64 cmake = all;
65 coreutils = all;
66 cpio = all;
67 cron = linux;
68 cups = linux;
69 dbus = linux;
70 diffutils = all;
71 e2fsprogs = linux;
72 emacs = linux;
73 file = all;
74 findutils = all;
75 flex = all;
76 gcc = all;
77 glibc = linux;
78 glibcLocales = linux;
79 gnugrep = all;
80 gnum4 = all;
81 gnumake = all;
82 gnupatch = all;
83 gnupg = linux;
84 gnuplot = unix; # Cygwin builds fail
85 gnused = all;
86 gnutar = all;
87 gnutls = linux;
88 grub2 = linux;
89 guile = linux; # tests fail on Cygwin
90 gzip = all;
91 hddtemp = linux;
92 hdparm = linux;
93 hello = all;
94 host = linux;
95 iana-etc = linux;
96 icewm = linux;
97 idutils = all;
98 inetutils = linux;
99 iputils = linux;
100 qemu = linux;
101 qemu_kvm = linux;
102 lapack-reference = linux;
103 less = all;
104 lftp = all;
105 libtool = all;
106 libtool_2 = all;
107 libxml2 = all;
108 libxslt = all;
109 lout = linux;
110 lsof = linux;
111 ltrace = linux;
112 lvm2 = linux;
113 lynx = linux;
114 xz = linux;
115 man = linux;
116 man-pages = linux;
117 mc = all;
118 mdadm = linux;
119 mesa = linux;
120 mingetty = linux;
121 mktemp = all;
122 monotone = linux;
123 mutt = linux;
124 mysql = linux;
125 # netcat broken on darwin
126 netcat = linux;
127 nfs-utils = linux;
128 nix = all;
129 nixUnstable = all;
130 nss_ldap = linux;
131 nssmdns = linux;
132 ntfs3g = linux;
133 ntp = linux;
134 openssh = linux;
135 openssl = all;
136 pan = linux;
137 pciutils = linux;
138 perl = all;
139 pkg-config = all;
140 pmccabe = linux;
141 procps = linux;
142 python3 = unix; # Cygwin builds fail
143 readline = all;
144 rlwrap = all;
145 rpcbind = linux;
146 rsync = linux;
147 screen = linux ++ darwin;
148 scrot = linux;
149 sdparm = linux;
150 smartmontools = all;
151 sqlite = unix; # Cygwin builds fail
152 squid = linux;
153 msmtp = linux;
154 stdenv = all;
155 strace = linux;
156 su = linux;
157 sudo = linux;
158 sysklogd = linux;
159 syslinux = [ "i686-linux" ];
160 tcl = linux;
161 tcpdump = linux;
162 texinfo = all;
163 time = linux;
164 tinycc = linux;
165 udev = linux;
166 unzip = all;
167 usbutils = linux;
168 util-linux = linux;
169 util-linuxMinimal = linux;
170 w3m = all;
171 wget = all;
172 which = all;
173 wirelesstools = linux;
174 wpa_supplicant = linux;
175 xfsprogs = linux;
176 xkeyboard_config = linux;
177 zip = all;
178 tests-stdenv-gcc-stageCompare = linux;
179}))