diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-02-07 19:30:35 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-02-07 20:43:13 +0000 |
commit | 08faefca1f829752379905dc31f8e7f87ccd2888 (patch) | |
tree | 98500f430eeea3e7142645f3cbce0584d0096dc0 | |
parent | 279e66e1067067416eb3e65602ed83efb55966bb (diff) | |
download | nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar.gz nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar.bz2 nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar.lz nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar.xz nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.tar.zst nixpkgs-08faefca1f829752379905dc31f8e7f87ccd2888.zip |
libhugetlbfs: 2.22 -> 2.23
My patches to fix the library checks and add a MANDIR variable were included in this release, so the build can be simplified a little.
-rw-r--r-- | pkgs/development/libraries/libhugetlbfs/default.nix | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/pkgs/development/libraries/libhugetlbfs/default.nix b/pkgs/development/libraries/libhugetlbfs/default.nix index ed5f67d4370..061fe51ed5b 100644 --- a/pkgs/development/libraries/libhugetlbfs/default.nix +++ b/pkgs/development/libraries/libhugetlbfs/default.nix @@ -1,26 +1,16 @@ -{ stdenv, lib, fetchurl, fetchpatch }: +{ stdenv, lib, fetchurl }: stdenv.mkDerivation rec { pname = "libhugetlbfs"; - version = "2.22"; + version = "2.23"; src = fetchurl { url = "https://github.com/libhugetlbfs/libhugetlbfs/releases/download/${version}/libhugetlbfs-${version}.tar.gz"; - sha256 = "11b7k8xvgx68rjzidm12a6l6b23hwi7hj149y9xxfz2j5kmakp4l"; + sha256 = "0ya4q001g111d3pqlzrf3yaifadl0ccirx5dndz1pih7x3qp41mp"; }; outputs = [ "bin" "dev" "man" "doc" "lib" "out" ]; - patches = [ - # Don't check that 32-bit and 64-bit libraries don't get installed - # to the same place if only one platform is being built for. - # Can be removed if build succeeds without it. - (fetchpatch { - url = "https://groups.google.com/forum/message/raw?msg=libhugetlbfs/IswjDAygfwA/PKy7MZbVAAAJ"; - sha256 = "00fyrhn380d6swil8pcf4x0krl1113ghswrvjn3m9czc3h4p385a"; - }) - ]; - postConfigure = '' patchShebangs ld.hugetlbfs ''; @@ -34,8 +24,8 @@ stdenv.mkDerivation rec { "LIBDIR64=$(lib)/$(LIB64)" "EXEDIR=$(bin)/bin" "DOCDIR=$(doc)/share/doc/libhugetlbfs" - ] ++ map (n: "MANDIR${n}=$(man)/share/man/man${n}") - (lib.genList (n: toString (n + 1)) 8); + "MANDIR=$(man)/share/man" + ]; # Default target builds tests as well, and the tests want a static # libc. |