diff options
Diffstat (limited to 'pkgs/os-specific/linux/keyutils/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/keyutils/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/os-specific/linux/keyutils/default.nix b/pkgs/os-specific/linux/keyutils/default.nix index 553b0b87f41..71f708e210d 100644 --- a/pkgs/os-specific/linux/keyutils/default.nix +++ b/pkgs/os-specific/linux/keyutils/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ lib, stdenv, fetchurl }: # Note: this package is used for bootstrapping fetchurl, and thus # cannot use fetchpatch! All mutable patches (generated by GitHub or @@ -7,11 +7,11 @@ stdenv.mkDerivation rec { pname = "keyutils"; - version = "1.6.1"; + version = "1.6.3"; src = fetchurl { url = "https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/snapshot/${pname}-${version}.tar.gz"; - sha256 = "0mzmw8c7gqmqaxm3sa0xki8ycjla47xxhqg0yh17pl00d7ydqw9w"; + sha256 = "sha256-ph1XBhNq5MBb1I+GGGvP29iN2L1RB+Phlckkz8Gzm7Q="; }; patches = [ @@ -23,9 +23,13 @@ stdenv.mkDerivation rec { ./conf-symlink.patch ]; + makeFlags = lib.optionals stdenv.hostPlatform.isStatic "NO_SOLIB=1"; + BUILDDATE = "1970-01-01"; outputs = [ "out" "lib" "dev" ]; + enableParallelBuilding = true; + installFlags = [ "ETCDIR=$(out)/etc" "BINDIR=$(out)/bin" @@ -37,7 +41,7 @@ stdenv.mkDerivation rec { "USRLIBDIR=$(lib)/lib" ]; - meta = with stdenv.lib; { + meta = with lib; { homepage = "https://people.redhat.com/dhowells/keyutils/"; description = "Tools used to control the Linux kernel key management system"; license = licenses.gpl2Plus; |