nixpkgs/pkgs/top-level/release-small.nix

155 lines
3.0 KiB
Nix
Raw Normal View History

/* A small release file, with few packages to be built. The aim is to reduce
2013-04-02 09:33:59 +00:00
the load on Hydra when testing the `stdenv-updates' branch. */
{ nixpkgs ? { outPath = (import ../../lib).cleanSource ../..; revCount = 1234; shortRev = "abcdef"; }
, supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ]
, # Attributes passed to nixpkgs. Don't build packages marked as unfree.
nixpkgsArgs ? { config = { allowUnfree = false; inHydra = true; }; }
2013-04-02 09:33:59 +00:00
}:
with import ./release-lib.nix { inherit supportedSystems nixpkgsArgs; };
{
2013-04-02 09:33:59 +00:00
tarball = import ./make-tarball.nix {
inherit nixpkgs supportedSystems;
2013-04-02 09:33:59 +00:00
officialRelease = false;
};
2019-08-13 21:52:01 +00:00
} // (mapTestOn ({
aspell = all;
at = linux;
autoconf = all;
automake = all;
avahi = unix; # Cygwin builds fail
bash = all;
bashInteractive = all;
bc = all;
binutils = linux;
bind = linux;
bsdiff = all;
bzip2 = all;
cmake = all;
coreutils = all;
cpio = all;
cron = linux;
cups = linux;
dbus = linux;
dhcp = linux;
diffutils = all;
e2fsprogs = linux;
2020-08-20 22:21:02 +00:00
emacs = linux;
file = all;
findutils = all;
flex = all;
gcc = all;
glibc = linux;
glibcLocales = linux;
gnugrep = all;
gnum4 = all;
gnumake = all;
gnupatch = all;
gnupg = linux;
gnuplot = unix; # Cygwin builds fail
gnused = all;
gnutar = all;
gnutls = linux;
grub = linux;
grub2 = linux;
guile = linux; # tests fail on Cygwin
gzip = all;
hddtemp = linux;
hdparm = linux;
hello = all;
host = linux;
iana-etc = linux;
icewm = linux;
idutils = all;
inetutils = linux;
iputils = linux;
kvm = linux;
qemu = linux;
qemu_kvm = linux;
blas/lapack: add wrapper for “alternative”s of BLAS/LAPACK provider This is based on previous work for switching between BLAS and LAPACK implementation in Debian[1] and Gentoo[2]. The goal is to have one way to depend on the BLAS/LAPACK libraries that all packages must use. The attrs “blas” and “lapack” are used to represent a wrapped BLAS/LAPACK provider. Derivations that don’t care how BLAS and LAPACK are implemented can just use blas and lapack directly. If you do care what you get (perhaps for some CPP), you should verify that blas and lapack match what you expect with an assertion. The “blas” package collides with the old “blas” reference implementation. This has been renamed to “blas-reference”. In addition, “lapack-reference” is also included, corresponding to “liblapack” from Netlib.org. Currently, there are 3 providers of the BLAS and LAPACK interfaces: - lapack-reference: the BLAS/LAPACK implementation maintained by netlib.org - OpenBLAS: an optimized version of BLAS and LAPACK - MKL: Intel’s unfree but highly optimized BLAS/LAPACK implementation By default, the above implementations all use the “LP64” BLAS and LAPACK ABI. This corresponds to “openblasCompat” and is the safest way to use BLAS/LAPACK. You may received some benefits from “ILP64” or 8-byte integer BLAS at the expense of breaking compatibility with some packages. This can be switched at build time with an override like: import <nixpkgs> { config.allowUnfree = true; overlays = [(self: super: { lapack = super.lapack.override { lapackProvider = super.lapack-reference; }; blas = super.blas.override { blasProvider = super.lapack-reference; }; })]; } or, switched at runtime via LD_LIBRARY_PATH like: $ LD_LIBRARY_PATH=$(nix-build -E '(with import <nixpkgs> {}).lapack.override { lapackProvider = pkgs.mkl; is64bit = true; })')/lib:$(nix-build -E '(with import <nixpkgs> {}).blas.override { blasProvider = pkgs.mkl; is64bit = true; })')/lib ./your-blas-linked-binary By default, we use OpenBLAS LP64 also known in Nixpkgs as openblasCompat. [1]: https://wiki.debian.org/DebianScience/LinearAlgebraLibraries [2]: https://wiki.gentoo.org/wiki/Blas-lapack-switch
2020-03-27 18:50:45 +00:00
lapack-reference = linux;
less = all;
lftp = all;
libtool = all;
libtool_2 = all;
libxml2 = all;
libxslt = all;
lout = linux;
lsh = linux;
lsof = linux;
ltrace = linux;
lvm2 = linux;
lynx = linux;
2021-03-14 18:12:53 +00:00
xz = linux;
man = linux;
man-pages = linux;
mc = all;
mdadm = linux;
mesa = mesaPlatforms;
mingetty = linux;
mktemp = all;
monotone = linux;
mutt = linux;
mysql = linux;
# netcat broken on darwin
netcat = linux;
nfs-utils = linux;
nix = all;
nixUnstable = all;
nss_ldap = linux;
nssmdns = linux;
ntfs3g = linux;
ntp = linux;
openssh = linux;
openssl = all;
pan = linux;
pciutils = linux;
pdf2xml = all;
perl = all;
pkg-config = all;
pmccabe = linux;
procps = linux;
python3 = unix; # Cygwin builds fail
readline = all;
rlwrap = all;
rpcbind = linux;
rsync = linux;
screen = linux ++ darwin;
scrot = linux;
sdparm = linux;
smartmontools = all;
sqlite = unix; # Cygwin builds fail
squid = linux;
ssmtp = linux;
2015-03-20 17:16:43 +00:00
stdenv = all;
strace = linux;
su = linux;
sudo = linux;
sysklogd = linux;
syslinux = ["i686-linux"];
tcl = linux;
tcpdump = linux;
texinfo = all;
time = linux;
tinycc = linux;
udev = linux;
unzip = all;
usbutils = linux;
2020-11-24 15:29:28 +00:00
util-linux = linux;
util-linuxMinimal = linux;
w3m = all;
2019-03-05 16:40:00 +00:00
webkitgtk = linux;
wget = all;
which = all;
wirelesstools = linux;
wpa_supplicant = linux;
xfsprogs = linux;
xkeyboard_config = linux;
zip = all;
} ))