diff options
author | Peter Woodman <peter@shortbus.org> | 2021-01-21 15:54:08 -0500 |
---|---|---|
committer | Peter Woodman <peter@shortbus.org> | 2021-01-31 19:39:57 -0500 |
commit | bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9 (patch) | |
tree | 7958dac670826e52bf2fa5338bbaf0c5f2eaad36 | |
parent | 98cc48e3f71ee952eeb1d811a154e086460254fa (diff) | |
download | nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar.gz nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar.bz2 nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar.lz nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar.xz nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.tar.zst nixpkgs-bcff2ac7eb8c5b198f9e4bf1827dad6f44a0a2b9.zip |
musl-fts: init at 1.2.7
this is in service of getting elfutils building against musl-libc again. the currently-included netbsd.fts package has a bunch of #define collisions with current elfutils, so pulling this library in, which is what both void and alpine linux do.
-rw-r--r-- | pkgs/os-specific/linux/musl-fts/default.nix | 25 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/musl-fts/default.nix b/pkgs/os-specific/linux/musl-fts/default.nix new file mode 100644 index 00000000000..cdb1cca47c6 --- /dev/null +++ b/pkgs/os-specific/linux/musl-fts/default.nix @@ -0,0 +1,25 @@ +{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config }: + +stdenv.mkDerivation rec { + pname = "musl-fts"; + version = "1.2.7"; + + src = fetchFromGitHub { + owner = "void-linux"; + repo = "musl-fts"; + rev = "v${version}"; + sha256 = "Azw5qrz6OKDcpYydE6jXzVxSM5A8oYWAztrHr+O/DOE="; + }; + + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + enableParallelBuilding = true; + + meta = with lib; { + homepage = "https://github.com/void-linux/musl-fts"; + description = "An implementation of fts(3) for musl-libc"; + platforms = platforms.linux; + license = licenses.bsd3; + maintainers = [ maintainers.pjjw ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e096bc1e36a..033d73f048c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19489,6 +19489,8 @@ in musl = callPackage ../os-specific/linux/musl { }; + musl-fts = callPackage ../os-specific/linux/musl-fts { }; + nushell = callPackage ../shells/nushell { inherit (darwin.apple_sdk.frameworks) AppKit Security; }; |