nixpkgs/pkgs/development
Dmitry Kalinkin 6740593bdd
glibc: provide fallback for kernels with missing prlimit64
The current version of glibc implements support for kernels down to
3.2.0 (and we make sure to enable such support with apporopriate
--enable-kernel setting). The current RHEL6 operating system is based on
a maintained kernel based on 2.6.32 with lots of backports. We provide
basic support for this specific kernel by patching glibc to provide an
exception for this specific version of kernel. This allows for nixpkgs
software distribution to work on RHEL6 and it does so quite well with
almost no problems. There are, however, a few syscalls that are missing
in the 2.6.32 kernel, one of which is prlimit64. This commit provides a
fallback that uses an older {get,set}rlimit syscalls in cases when
prlimit64 is not available. This should streamline the experience for
nixpkgs users wanting to run it on RHEL6, namely, this fixes one of the
tests in findutils.

See also discussion in guix:
https://lists.gnu.org/archive/html/guix-devel/2018-03/msg00356.html
2020-03-01 17:33:27 -05:00
..
androidndk-pkgs
arduino platformio: 4.0.3 -> 4.1.0 2020-01-27 11:50:09 +01:00
beam-modules lfe: 1.2.1 -> 1.3 2020-02-10 20:03:47 +01:00
bower-modules/generic
chez-modules
compilers crystal: remove 0.25 and 0.26 (#80473) 2020-02-19 12:17:45 -05:00
coq-modules coqPackages.bignums: enable for Coq 8.11 2020-02-07 10:26:26 +01:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules
go-packages
guile-modules
haskell-modules haskell generic-builder: fix Darwin regression for lmdb 2020-02-17 09:41:31 +01:00
idris-modules idrisPackages.tparsec: 2019-09-19 -> 2020-02-11 2020-02-17 20:08:27 +01:00
interpreters perl: Enable threading on darwin 2020-02-20 08:35:45 +01:00
java-modules
libraries glibc: provide fallback for kernels with missing prlimit64 2020-03-01 17:33:27 -05:00
lisp-modules lispPackages.cl-store: fix build 2020-02-04 17:22:12 +01:00
lua-modules luaPackages.luv: 1.30.0-0 -> 1.34.1-1 2020-02-17 19:34:55 +01:00
misc loc: upgrade cargo fetcher and cargoSha256 2020-02-16 03:54:36 -05:00
mobile androidenv build-tools: fix old versions under linux 2020-02-14 11:41:57 +01:00
node-packages nodePackages.webpack-dev-server: init at 3.10.3 2020-02-18 11:54:23 +00:00
ocaml-modules ocamlPackages.resource-pooling: 0.6 → 1.1 2020-02-14 10:09:41 +01:00
perl-modules perlPackages: fix build 2020-02-04 03:43:07 +00:00
pharo
pure-modules
python-modules pythonPackages.importlib-metadata: 1.3.0 -> 1.5.0 2020-02-23 22:35:59 -08:00
r-modules r-modules/generic-builder: Add missing iconv library to fix build on darwin (#78965) 2020-02-07 10:50:43 +01:00
ruby-modules rubyWithPackages.libv8: fix compilation 2020-02-18 22:29:38 +01:00
tools Merge pull request #80527 from marsam/update-bazel-remote 2020-02-19 20:03:47 -05:00
web nodejs-13_x: 13.8.0 -> 13.9.0 2020-02-19 04:20:00 -05:00