pkgs: update nixpkgs to 1614b96a

This commit is contained in:
Rodrigo Arias 2022-09-01 16:27:29 +02:00
parent e57107024e
commit b60698b791
87 changed files with 229 additions and 146 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, glib, libuuid, popt, elfutils, swig4, python3 }: { stdenv, lib, fetchurl, pkgconfig, glib, libuuid, popt, elfutils, swig4, python3 }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "babeltrace-1.5.8"; name = "babeltrace-1.5.8";
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libuuid popt elfutils swig4 python3 ]; buildInputs = [ glib libuuid popt elfutils swig4 python3 ];
meta = with stdenv.lib; { meta = with lib; {
description = "Command-line tool and library to read and convert LTTng tracefiles"; description = "Command-line tool and library to read and convert LTTng tracefiles";
homepage = "https://www.efficios.com/babeltrace"; homepage = "https://www.efficios.com/babeltrace";
license = licenses.mit; license = licenses.mit;

View File

@ -43,7 +43,7 @@ in stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
description = "File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C"; description = "File live sync daemon based on inotify/kqueue/bsm (Linux, FreeBSD), written in GNU C";
homepage = "https://github.com/clsync/clsync"; homepage = "https://github.com/clsync/clsync";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, babeltrace2 , babeltrace2
, pkg-config , pkg-config
, uthash , uthash
@ -9,7 +10,7 @@
, tampi ? null , tampi ? null
}: }:
with stdenv.lib; with lib;
assert (enableTest -> (mpi != null)); assert (enableTest -> (mpi != null));
assert (enableTest -> (clangOmpss2 != null)); assert (enableTest -> (clangOmpss2 != null));

View File

@ -1,4 +1,5 @@
{ stdenv { stdenv
, lib
, fetchFromGitHub , fetchFromGitHub
, boost , boost
, libdwarf , libdwarf
@ -50,9 +51,9 @@ stdenv.mkDerivation rec {
xml2 xml2
which which
libxml2.dev libxml2.dev
python37Packages.sphinx #python37Packages.sphinx
] ]
++ stdenv.lib.optional stdenv.cc.isClang llvmPackages.openmp; ++ lib.optional stdenv.cc.isClang llvmPackages.openmp;
preConfigure = '' preConfigure = ''
configureFlagsArray=( configureFlagsArray=(
@ -79,13 +80,15 @@ stdenv.mkDerivation rec {
# Install the manuals only by hand, as we don't want to pull the complete # Install the manuals only by hand, as we don't want to pull the complete
# LaTeX world # LaTeX world
postBuild = ''
make -C docs man
'';
postInstall = '' # FIXME: sphinx is broken
installManPage docs/builds/man/*/* #postBuild = ''
''; # make -C docs man
#'';
#
#postInstall = ''
# installManPage docs/builds/man/*/*
#'';
# ++ ( # ++ (
# if (openmp) # if (openmp)

View File

@ -48,7 +48,7 @@ stdenv.mkDerivation {
checkInputs = [ perl ]; checkInputs = [ perl ];
meta = with stdenv.lib; { meta = with lib; {
description = "Fastest Fourier Transform in the West library"; description = "Fastest Fourier Transform in the West library";
homepage = "http://www.fftw.org/"; homepage = "http://www.fftw.org/";
license = licenses.gpl2Plus; license = licenses.gpl2Plus;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl { stdenv, lib, fetchurl, perl
, ghostscript #for postscript and html output , ghostscript #for postscript and html output
, psutils, netpbm #for html output , psutils, netpbm #for html output
, buildPackages , buildPackages
@ -22,18 +22,18 @@ stdenv.mkDerivation rec {
./0001-Fix-cross-compilation-by-looking-for-ar.patch ./0001-Fix-cross-compilation-by-looking-for-ar.patch
]; ];
postPatch = stdenv.lib.optionalString (psutils != null) '' postPatch = lib.optionalString (psutils != null) ''
substituteInPlace src/preproc/html/pre-html.cpp \ substituteInPlace src/preproc/html/pre-html.cpp \
--replace "psselect" "${psutils}/bin/psselect" --replace "psselect" "${psutils}/bin/psselect"
'' + stdenv.lib.optionalString (netpbm != null) '' '' + lib.optionalString (netpbm != null) ''
substituteInPlace src/preproc/html/pre-html.cpp \ substituteInPlace src/preproc/html/pre-html.cpp \
--replace "pnmcut" "${stdenv.lib.getBin netpbm}/bin/pnmcut" \ --replace "pnmcut" "${lib.getBin netpbm}/bin/pnmcut" \
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \ --replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
--replace "pnmtopng" "${stdenv.lib.getBin netpbm}/bin/pnmtopng" --replace "pnmtopng" "${lib.getBin netpbm}/bin/pnmtopng"
substituteInPlace tmac/www.tmac.in \ substituteInPlace tmac/www.tmac.in \
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \ --replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
--replace "pngtopnm" "${stdenv.lib.getBin netpbm}/bin/pngtopnm" \ --replace "pngtopnm" "${lib.getBin netpbm}/bin/pngtopnm" \
--replace "@PNMTOPS_NOSETPAGE@" "${stdenv.lib.getBin netpbm}/bin/pnmtops -nosetpage" --replace "@PNMTOPS_NOSETPAGE@" "${lib.getBin netpbm}/bin/pnmtops -nosetpage"
''; '';
buildInputs = [ ghostscript psutils netpbm perl ]; buildInputs = [ ghostscript psutils netpbm perl ];
@ -46,13 +46,13 @@ stdenv.mkDerivation rec {
# have to pass "--with-appresdir", too. # have to pass "--with-appresdir", too.
configureFlags = [ configureFlags = [
"--without-x" "--without-x"
] ++ stdenv.lib.optionals (ghostscript != null) [ ] ++ lib.optionals (ghostscript != null) [
"--with-gs=${ghostscript}/bin/gs" "--with-gs=${ghostscript}/bin/gs"
] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ ] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl" "ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
]; ];
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
# Trick to get the build system find the proper 'native' groff # Trick to get the build system find the proper 'native' groff
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html # http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
"GROFF_BIN_PATH=${buildPackages.groff}/bin" "GROFF_BIN_PATH=${buildPackages.groff}/bin"
@ -100,11 +100,11 @@ stdenv.mkDerivation rec {
substituteInPlace $out/bin/grog \ substituteInPlace $out/bin/grog \
--replace $out/lib/groff/grog $out/lib/groff/grog --replace $out/lib/groff/grog $out/lib/groff/grog
'' + stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) '' '' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
find $out/ -type f -print0 | xargs --null sed -i 's|${buildPackages.perl}|${perl}|' find $out/ -type f -print0 | xargs --null sed -i 's|${buildPackages.perl}|${perl}|'
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://www.gnu.org/software/groff/"; homepage = "https://www.gnu.org/software/groff/";
description = "GNU Troff, a typesetting package that reads plain text and produces formatted output"; description = "GNU Troff, a typesetting package that reads plain text and produces formatted output";
license = licenses.gpl3Plus; license = licenses.gpl3Plus;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, numactl, pkgconfig }: { stdenv, lib, fetchFromGitHub, numactl, pkgconfig }:
let let
version = "11.2.185"; version = "11.2.185";
@ -34,7 +34,7 @@ stdenv.mkDerivation {
rmdir $out/usr rmdir $out/usr
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://github.com/intel/opa-psm2"; homepage = "https://github.com/intel/opa-psm2";
description = "The PSM2 library supports a number of fabric media and stacks"; description = "The PSM2 library supports a number of fabric media and stacks";
license = with licenses; [ gpl2 bsd3 ]; license = with licenses; [ gpl2 bsd3 ];

View File

@ -35,6 +35,6 @@ stdenv.mkDerivation rec {
description = "lmbench"; description = "lmbench";
homepage = "http://www.bitmover.com/lmbench/"; homepage = "http://www.bitmover.com/lmbench/";
maintainers = [ ]; maintainers = [ ];
platforms = stdenv.lib.platforms.all; platforms = lib.platforms.all;
}; };
} }

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, fetchurl , fetchurl
, perl , perl
, gfortran , gfortran
@ -9,7 +10,7 @@
, enableDebug ? false , enableDebug ? false
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mpich"; pname = "mpich";
@ -41,7 +42,7 @@ stdenv.mkDerivation rec {
sed -i 's:CXX="g++":CXX=${stdenv.cc}/bin/g++:' $out/bin/mpicxx sed -i 's:CXX="g++":CXX=${stdenv.cc}/bin/g++:' $out/bin/mpicxx
sed -i 's:FC="gfortran":FC=${gfortran}/bin/gfortran:' $out/bin/mpifort sed -i 's:FC="gfortran":FC=${gfortran}/bin/gfortran:' $out/bin/mpifort
'' ''
+ stdenv.lib.optionalString (!stdenv.isDarwin) '' + lib.optionalString (!stdenv.isDarwin) ''
# /tmp/nix-build... ends up in the RPATH, fix it manually # /tmp/nix-build... ends up in the RPATH, fix it manually
for entry in $out/bin/mpichversion $out/bin/mpivars; do for entry in $out/bin/mpichversion $out/bin/mpivars; do
echo "fix rpath: $entry" echo "fix rpath: $entry"
@ -49,7 +50,7 @@ stdenv.mkDerivation rec {
done done
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Implementation of the Message Passing Interface (MPI) standard"; description = "Implementation of the Message Passing Interface (MPI) standard";
longDescription = '' longDescription = ''

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, fetchFromGitHub , fetchFromGitHub
, automake , automake
, autoconf , autoconf
@ -20,7 +21,7 @@
assert enableJemalloc -> (jemalloc != null); assert enableJemalloc -> (jemalloc != null);
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nanos6"; pname = "nanos6";

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, automake , automake
, autoconf , autoconf
, libtool , libtool
@ -19,7 +20,7 @@
, gitBranch ? "master" , gitBranch ? "master"
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "nanos6"; pname = "nanos6";

View File

@ -140,9 +140,9 @@ common =
environments. environments.
''; '';
homepage = "https://nixos.org/"; homepage = "https://nixos.org/";
license = stdenv.lib.licenses.lgpl2Plus; license = lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.unix; platforms = lib.platforms.unix;
outputsToInstall = [ "out" "man" ]; outputsToInstall = [ "out" "man" ];
}; };

View File

@ -146,9 +146,9 @@ common =
environments. environments.
''; '';
homepage = "https://nixos.org/"; homepage = "https://nixos.org/";
license = stdenv.lib.licenses.lgpl2Plus; license = lib.licenses.lgpl2Plus;
maintainers = [ stdenv.lib.maintainers.eelco ]; maintainers = [ lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.unix; platforms = lib.platforms.unix;
outputsToInstall = [ "out" "man" ]; outputsToInstall = [ "out" "man" ];
}; };
@ -191,7 +191,7 @@ in rec {
}; };
inherit storeDir stateDir confDir boehmgc; inherit storeDir stateDir confDir boehmgc;
} // stdenv.lib.optionalAttrs stdenv.cc.isClang { } // lib.optionalAttrs stdenv.cc.isClang {
stdenv = llvmPackages_6.stdenv; stdenv = llvmPackages_6.stdenv;
}); });

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl { stdenv, lib, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin , rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric, pmix, pmi2, ucx , libpsm2, libfabric, pmix, pmi2, ucx
@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
pname = "openmpi"; pname = "openmpi";
inherit version; inherit version;
src = with stdenv.lib.versions; fetchurl { src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2"; url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "1i0slg2dxjdgw513aml1n9dsbdxn2fimi2b5712d5r9z4ar4xqj7"; sha256 = "1i0slg2dxjdgw513aml1n9dsbdxn2fimi2b5712d5r9z4ar4xqj7";
}; };
@ -105,7 +105,7 @@ in stdenv.mkDerivation rec {
inherit cudaSupport cudatoolkit; inherit cudaSupport cudatoolkit;
}; };
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://www.open-mpi.org/"; homepage = "https://www.open-mpi.org/";
description = "Open source MPI-3 implementation"; description = "Open source MPI-3 implementation";
longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers."; longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.";

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, gfortran, perl, libnl { stdenv, lib, fetchurl, fetchpatch, gfortran, perl, libnl
, rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin , rdma-core, zlib, numactl, libevent, hwloc, targetPackages, symlinkJoin
, libpsm2, libfabric , libpsm2, libfabric
@ -34,7 +34,7 @@ in stdenv.mkDerivation rec {
pname = "openmpi"; pname = "openmpi";
inherit version; inherit version;
src = with stdenv.lib.versions; fetchurl { src = with lib.versions; fetchurl {
url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2"; url = "https://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${pname}-${version}.tar.bz2";
sha256 = "00zxcw99gr5n693cmcmn4f6a47vx1ywna895p0x7p163v37gw0hl"; sha256 = "00zxcw99gr5n693cmcmn4f6a47vx1ywna895p0x7p163v37gw0hl";
}; };
@ -102,7 +102,7 @@ in stdenv.mkDerivation rec {
inherit cudaSupport cudatoolkit; inherit cudaSupport cudatoolkit;
}; };
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://www.open-mpi.org/"; homepage = "https://www.open-mpi.org/";
description = "Open source MPI-3 implementation"; description = "Open source MPI-3 implementation";
longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers."; longDescription = "The Open MPI Project is an open source MPI-3 implementation that is developed and maintained by a consortium of academic, research, and industry partners. Open MPI is therefore able to combine the expertise, technologies, and resources from all across the High Performance Computing community in order to build the best MPI library available. Open MPI offers advantages for system and software vendors, application developers and computer science researchers.";

View File

@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
description = "OSU Micro-Benchmarks"; description = "OSU Micro-Benchmarks";
homepage = http://mvapich.cse.ohio-state.edu/benchmarks/; homepage = http://mvapich.cse.ohio-state.edu/benchmarks/;
maintainers = [ ]; maintainers = [ ];
platforms = stdenv.lib.platforms.all; platforms = lib.platforms.all;
}; };
} }

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, fetchFromGitHub , fetchFromGitHub
, boost , boost
, libxml2 , libxml2
@ -13,7 +14,7 @@
, enableMouseLabel ? false , enableMouseLabel ? false
}: }:
with stdenv.lib; with lib;
let let
wx = wxGTK28; wx = wxGTK28;

View File

@ -47,7 +47,7 @@ stdenv.mkDerivation {
buildInputs = [ buildInputs = [
elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl elfutils newt slang libunwind libbfd zlib openssl systemtap.stapBuild numactl
libopcodes python3 perl babeltrace libopcodes python3 perl babeltrace
] ++ stdenv.lib.optional withGtk gtk2 ] ++ lib.optional withGtk gtk2
++ (if (versionAtLeast kernel.version "4.19") then [ python3 ] else [ python2 ]); ++ (if (versionAtLeast kernel.version "4.19") then [ python3 ] else [ python2 ]);
# Note: we don't add elfutils to buildInputs, since it provides a # Note: we don't add elfutils to buildInputs, since it provides a
@ -78,7 +78,7 @@ stdenv.mkDerivation {
meta = { meta = {
homepage = "https://perf.wiki.kernel.org/"; homepage = "https://perf.wiki.kernel.org/";
description = "Linux tools to profile with performance counters"; description = "Linux tools to profile with performance counters";
maintainers = with stdenv.lib.maintainers; [viric]; maintainers = with lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux; platforms = with lib.platforms; linux;
}; };
} }

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl, autoconf, automake { stdenv, lib, fetchFromGitHub, perl, autoconf, automake
, libtool, flex, libevent, hwloc, munge, zlib , libtool, flex, libevent, hwloc, munge, zlib
} : } :
@ -37,7 +37,7 @@ in stdenv.mkDerivation {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
description = "Process Management Interface for HPC environments"; description = "Process Management Interface for HPC environments";
homepage = "https://openpmix.github.io/"; homepage = "https://openpmix.github.io/";
license = licenses.bsd3; license = licenses.bsd3;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, docutils { stdenv, lib, fetchFromGitHub, cmake, pkgconfig, docutils
, pandoc, ethtool, iproute, libnl, udev, python, perl , pandoc, ethtool, iproute, libnl, udev, python, perl
, makeWrapper , makeWrapper
} : } :
@ -48,7 +48,7 @@ in stdenv.mkDerivation {
rm -rf $out/sbin rm -rf $out/sbin
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "RDMA Core Userspace Libraries and Daemons"; description = "RDMA Core Userspace Libraries and Daemons";
homepage = "https://github.com/linux-rdma/rdma-core"; homepage = "https://github.com/linux-rdma/rdma-core";
license = licenses.gpl2; license = licenses.gpl2;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl { stdenv, lib, fetchFromGitHub, pkgconfig, libtool, curl
, python, munge, perl, pam, openssl , python, munge, perl, pam, openssl
, ncurses, libmysqlclient, gtk2, lua, hwloc, numactl , ncurses, libmysqlclient, gtk2, lua, hwloc, numactl
, readline, freeipmi, libssh2, xorg , readline, freeipmi, libssh2, xorg
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
prePatch = stdenv.lib.optional enableX11 '' prePatch = lib.optional enableX11 ''
substituteInPlace src/common/x11_util.c \ substituteInPlace src/common/x11_util.c \
--replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"' --replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"'
''; '';
@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
libmysqlclient ncurses gtk2 libmysqlclient ncurses gtk2
lua hwloc numactl readline freeipmi lua hwloc numactl readline freeipmi
pmix pmix
] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ]; ] ++ lib.optionals enableX11 [ libssh2 xorg.xauth ];
configureFlags = with stdenv.lib; configureFlags = with lib;
[ "--with-munge=${munge}" [ "--with-munge=${munge}"
"--with-ssl=${openssl.dev}" "--with-ssl=${openssl.dev}"
"--with-hwloc=${hwloc.dev}" "--with-hwloc=${hwloc.dev}"
@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
homepage = http://www.schedmd.com/; homepage = http://www.schedmd.com/;
description = "Simple Linux Utility for Resource Management"; description = "Simple Linux Utility for Resource Management";
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pkgconfig, libtool, curl { stdenv, lib, fetchFromGitHub, pkgconfig, libtool, curl
, python, munge, perl, pam, openssl , python, munge, perl, pam, openssl
, ncurses, libmysqlclient, gtk2, lua, hwloc, numactl , ncurses, libmysqlclient, gtk2, lua, hwloc, numactl
, readline, freeipmi, libssh2, xorg , readline, freeipmi, libssh2, xorg
@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" ]; outputs = [ "out" ];
prePatch = stdenv.lib.optional enableX11 '' prePatch = lib.optional enableX11 ''
substituteInPlace src/common/x11_util.c \ substituteInPlace src/common/x11_util.c \
--replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"' --replace '"/usr/bin/xauth"' '"${xorg.xauth}/bin/xauth"'
''; '';
@ -39,9 +39,9 @@ stdenv.mkDerivation rec {
libmysqlclient ncurses gtk2 libmysqlclient ncurses gtk2
lua hwloc numactl readline freeipmi lua hwloc numactl readline freeipmi
pmix pmix
] ++ stdenv.lib.optionals enableX11 [ libssh2 xorg.xauth ]; ] ++ lib.optionals enableX11 [ libssh2 xorg.xauth ];
configureFlags = with stdenv.lib; configureFlags = with lib;
[ "--with-munge=${munge}" [ "--with-munge=${munge}"
"--with-ssl=${openssl.dev}" "--with-ssl=${openssl.dev}"
"--with-hwloc=${hwloc.dev}" "--with-hwloc=${hwloc.dev}"
@ -72,7 +72,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with stdenv.lib; { meta = with lib; {
homepage = http://www.schedmd.com/; homepage = http://www.schedmd.com/;
description = "Simple Linux Utility for Resource Management"; description = "Simple Linux Utility for Resource Management";
platforms = platforms.linux; platforms = platforms.linux;

View File

@ -13,7 +13,7 @@
, otf ? null , otf ? null
}: }:
with stdenv.lib; with lib;
# ViTE 1.1 has several bugs, so use the SVN version. # ViTE 1.1 has several bugs, so use the SVN version.
let let
@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
''; '';
homepage = "http://vite.gforge.inria.fr/"; homepage = "http://vite.gforge.inria.fr/";
license = stdenv.lib.licenses.cecill20; license = lib.licenses.cecill20;
maintainers = with stdenv.lib.maintainers; [ ]; maintainers = with lib.maintainers; [ ];
platforms = stdenv.lib.platforms.linux; platforms = lib.platforms.linux;
}; };
} }

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, fetchurl , fetchurl
, cmake , cmake
, libGLU , libGLU
@ -13,10 +14,10 @@
, mpi ? null , mpi ? null
}: }:
with stdenv.lib; with lib;
let let
os = stdenv.lib.optionalString; os = lib.optionalString;
majorVersion = "8.2"; majorVersion = "8.2";
minorVersion = "0"; minorVersion = "0";
version = "${majorVersion}.${minorVersion}"; version = "${majorVersion}.${minorVersion}";
@ -69,8 +70,8 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "Open source libraries for 3D computer graphics, image processing and visualization"; description = "Open source libraries for 3D computer graphics, image processing and visualization";
homepage = "https://www.vtk.org/"; homepage = "https://www.vtk.org/";
license = stdenv.lib.licenses.bsd3; license = lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ knedlsepp ]; maintainers = with lib.maintainers; [ knedlsepp ];
platforms = with stdenv.lib.platforms; unix; platforms = with lib.platforms; unix;
}; };
} }

View File

@ -1,14 +1,16 @@
let let
bscOverlay = import ./overlay.nix; bscOverlay = import ./overlay.nix;
commit = "1614b96a68dd210919865abe78bda56b501eb1ef";
# Pin the nixpkgs # Pin the nixpkgs
nixpkgsPath = builtins.fetchTarball { nixpkgsPath = builtins.fetchTarball {
# Descriptive name to make the store path easier to identify # Descriptive name to make the store path easier to identify
name = "nixos-20.09"; name = "nixpkgs-${commit}";
# Commit hash for nixos-20.09 as of 2021-01-11 # Commit hash for nixpkgs as of 2021-09-01
url = "https://github.com/nixos/nixpkgs/archive/41dddb1283733c4993cb6be9573d5cef937c1375.tar.gz"; url = "https://github.com/nixos/nixpkgs/archive/${commit}.tar.gz";
# Hash obtained using `nix-prefetch-url --unpack <url>` # Hash obtained using `nix-prefetch-url --unpack <url>`
sha256 = "1blbidbmxhaxar2x76nz72bazykc5yxi0algsbrhxgrsvijs4aiw"; sha256 = "17c4a6cg0xmnp6hl76h8fvxglngh66s8nfm3qq2iqv6iay4a92qz";
}; };
pkgs = import nixpkgsPath { pkgs = import nixpkgsPath {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, cc , cc
, nanos6 ? null , nanos6 ? null
, mcxx ? null , mcxx ? null
@ -7,7 +8,7 @@
, gitBranch , gitBranch
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "bigsort"; name = "bigsort";

View File

@ -1,10 +1,11 @@
{ {
stdenv stdenv
, lib
, cc , cc
, mpi , mpi
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "genseq"; name = "genseq";

View File

@ -1,10 +1,11 @@
{ {
stdenv stdenv
, lib
, cc , cc
, mpi , mpi
}: }:
with stdenv.lib; with lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "shuffle"; name = "shuffle";

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, mpi ? null , mpi ? null
, tampi ? null , tampi ? null
, mcxx ? null , mcxx ? null
@ -10,7 +11,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
assert !(tampi != null && mcxx == null); assert !(tampi != null && mcxx == null);

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, nz ? 200 , nz ? 200
, nx ? 200 , nx ? 200
, ny ? 500 , ny ? 500
@ -8,7 +9,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with builtins; with builtins;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, icc , icc
, mpi ? null , mpi ? null
, tampi ? null , tampi ? null
@ -11,7 +12,7 @@
assert !(tampi != null && mcxx == null); assert !(tampi != null && mcxx == null);
with stdenv.lib; with lib;
let let
gitSource = garlicTools.fetchGarlicApp { gitSource = garlicTools.fetchGarlicApp {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, mpi , mpi
, gfortran , gfortran
, tampi , tampi
@ -10,7 +11,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
let let
gitSource = garlicTools.fetchGarlicApp { gitSource = garlicTools.fetchGarlicApp {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, impi , impi
, mcxx , mcxx
, icc , icc
@ -9,7 +10,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
let let
gitSource = garlicTools.fetchGarlicApp { gitSource = garlicTools.fetchGarlicApp {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, tampi , tampi
, clangOmpss2 , clangOmpss2
, mpi , mpi
@ -8,7 +9,7 @@
, variant , variant
}: }:
with stdenv.lib; with lib;
assert (assertOneOf "variant" variant [ "openmp" "openmp-tasks" "ompss-2" ]); assert (assertOneOf "variant" variant [ "openmp" "openmp-tasks" "ompss-2" ]);

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, cc , cc
, mpi ? null , mpi ? null
, tampi ? null , tampi ? null
@ -13,7 +14,7 @@
assert !(tampi != null && mcxx == null); assert !(tampi != null && mcxx == null);
with stdenv.lib; with lib;
let let
gitSource = garlicTools.fetchGarlicApp { gitSource = garlicTools.fetchGarlicApp {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, nanos6 , nanos6
, mpi , mpi
, tampi , tampi
@ -33,8 +34,8 @@ assert enableManualDist -> (nbgx != null);
assert enableManualDist -> (nbgy != null); assert enableManualDist -> (nbgy != null);
assert enableManualDist -> (nbgz != null); assert enableManualDist -> (nbgz != null);
with stdenv.lib; with lib;
with stdenv.lib.versions; with lib.versions;
let let
gitSource = garlicTools.fetchGarlicApp { gitSource = garlicTools.fetchGarlicApp {

View File

@ -1076,7 +1076,7 @@ produce the execution pipeline when built. The experiment file describes
a function (which is typical in nix) and takes as argument an a function (which is typical in nix) and takes as argument an
attribute set with some common packages, tools and options: attribute set with some common packages, tools and options:
.CS .CS
{ stdenv, bsc, stdexp, targetMachine, stages, garlicTools }: { stdenv, lib, bsc, stdexp, targetMachine, stages, garlicTools }:
.CE .CE
The The
.I bsc .I bsc
@ -1344,8 +1344,8 @@ stdexp.genExperiment { inherit configs pipeline; }
.CE .CE
The complete example experiment can be shown here: The complete example experiment can be shown here:
.CS .CS
{ stdenv, stdexp, bsc, targetMachine, stages }: { stdenv, lib, stdexp, bsc, targetMachine, stages }:
with stdenv.lib; with lib;
let let
# Initial variable configuration # Initial variable configuration
varConf = { varConf = {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -9,7 +10,7 @@
, strace , strace
}: }:
with stdenv.lib; with lib;
# Ensure the arguments are strings, to avoid problems with large numbers # Ensure the arguments are strings, to avoid problems with large numbers
assert (isString n); assert (isString n);

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -11,7 +12,7 @@
, resultFromTrebuchet , resultFromTrebuchet
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -9,7 +10,7 @@
, inputTre , inputTre
}: }:
with stdenv.lib; with lib;
let let
varConf = { }; # Not used varConf = { }; # Not used

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, pkgs , pkgs
@ -10,7 +11,7 @@
, enableHWC ? false , enableHWC ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, pkgs , pkgs
@ -10,7 +11,7 @@
, enableHWC ? false , enableHWC ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -6,6 +6,7 @@
# following keys: # following keys:
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -13,11 +14,11 @@
, garlicTools , garlicTools
}: }:
# We import in the scope the content of the `stdenv.lib` attribute, which # We import in the scope the content of the `lib` attribute, which
# contain useful functions like `toString`, which will be used later. This is # contain useful functions like `toString`, which will be used later. This is
# handy to avoid writting `stdenv.lib.tostring`. # handy to avoid writting `lib.tostring`.
with stdenv.lib; with lib;
# We also have some functions specific to the garlic benchmark which we import # We also have some functions specific to the garlic benchmark which we import
# as well. Take a look at the garlic/tools.nix file for more details. # as well. Take a look at the garlic/tools.nix file for more details.

View File

@ -1,11 +1,12 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, stages , stages
}: }:
with stdenv.lib; with lib;
# Common definitions used by fwi experiments # Common definitions used by fwi experiments
rec { rec {

View File

@ -2,6 +2,7 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -10,7 +11,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -7,6 +7,7 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -15,7 +16,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
let let
common = callPackage ./common.nix {}; common = callPackage ./common.nix {};

View File

@ -20,6 +20,7 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -27,7 +28,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
let let

View File

@ -4,6 +4,7 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -13,7 +14,7 @@
, enableExtended ? false , enableExtended ? false
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -15,7 +16,7 @@
# TODO: Finish HWC first # TODO: Finish HWC first
assert (enableHWC == false); assert (enableHWC == false);
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,12 +1,13 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, stages , stages
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
rec { rec {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
rec { rec {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -10,7 +11,7 @@
, enableStrong ? true , enableStrong ? true
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,12 +1,13 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
, stages , stages
}: }:
with stdenv.lib; with lib;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, stages , stages
@ -7,7 +8,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
rec { rec {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -9,7 +10,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -19,7 +20,7 @@
, nblocks0 ? null , nblocks0 ? null
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -18,7 +19,7 @@
, nblocks0 ? null , nblocks0 ? null
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,12 +1,13 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
, stages , stages
}: }:
with stdenv.lib; with lib;
let let
# Initial variable configuration # Initial variable configuration

View File

@ -1,12 +1,13 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
, stages , stages
}: }:
with stdenv.lib; with lib;
let let
# Initial variable configuration # Initial variable configuration

View File

@ -1,12 +1,13 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
, stages , stages
}: }:
with stdenv.lib; with lib;
let let
# Initial variable configuration # Initial variable configuration

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -8,7 +9,7 @@
, callPackage , callPackage
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -10,7 +11,7 @@
}: }:
with builtins; with builtins;
with stdenv.lib; with lib;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
}: }:
with builtins; with builtins;
with stdenv.lib; with lib;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -10,7 +11,7 @@
}: }:
with builtins; with builtins;
with stdenv.lib; with lib;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -11,7 +12,7 @@
}: }:
with builtins; with builtins;
with stdenv.lib; with lib;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
}: }:
with builtins; with builtins;
with stdenv.lib; with lib;
let let

View File

@ -26,6 +26,7 @@
# Common packages, tools and options # Common packages, tools and options
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -33,7 +34,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -27,6 +27,7 @@
# Common packages, tools and options # Common packages, tools and options
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -34,7 +35,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, stdexp , stdexp
, bsc , bsc
, targetMachine , targetMachine
@ -7,7 +8,7 @@
, garlicTools , garlicTools
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,10 +1,11 @@
{ {
stdenv stdenv
, lib
}: }:
datasets: datasets:
with stdenv.lib; with lib;
stdenv.mkDerivation { stdenv.mkDerivation {
name = "merged-dataset"; name = "merged-dataset";

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, rWrapper , rWrapper
, rPackages , rPackages
, fontconfig , fontconfig
@ -22,7 +23,7 @@
, extraRPackages ? [] , extraRPackages ? []
}: }:
with stdenv.lib; with lib;
let let
scalesPatched = with rPackages; buildRPackage { scalesPatched = with rPackages; buildRPackage {

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, garlicTools , garlicTools
}: }:
@ -7,7 +8,7 @@
units units
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, numactl , numactl
, slurm , slurm
, garlicTools , garlicTools
@ -26,7 +27,7 @@
, acctgFreq ? null , acctgFreq ? null
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
# sbatch fails silently if we pass garbage, so we assert the types here to avoid # sbatch fails silently if we pass garbage, so we assert the types here to avoid

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, bash , bash
, writeText , writeText
}: }:
@ -9,7 +10,7 @@
, conf , conf
}: }:
with stdenv.lib; with lib;
with builtins; with builtins;
let let

View File

@ -1,5 +1,6 @@
{ {
stdenv stdenv
, lib
, config , config
, stages , stages
, targetMachine , targetMachine
@ -11,7 +12,7 @@
, pp , pp
}: }:
with stdenv.lib; with lib;
with garlicTools; with garlicTools;
let let

View File

@ -1,8 +1,9 @@
{ {
stdenv stdenv
, lib
}: }:
with stdenv.lib; with lib;
let let
gen = rec { gen = rec {

View File

@ -216,6 +216,18 @@ let
# Patched from upstream # Patched from upstream
# ================================================================= # =================================================================
#libdwarf_insecure = super.libdwarf.overrideAttrs (old: {
# knownVulnerabilities = null;
#});
libdwarf = super.symlinkJoin {
name = "libdwarf";
paths = [
self.libdwarf.dev
self.libdwarf.lib
self.libdwarf.out
];
};
groff = callPackage ./bsc/groff/default.nix { }; groff = callPackage ./bsc/groff/default.nix { };
fftw = callPackage ./bsc/fftw/default.nix { }; fftw = callPackage ./bsc/fftw/default.nix { };
vtk = callPackage ./bsc/vtk/default.nix { vtk = callPackage ./bsc/vtk/default.nix {