treewide: get rid of musl stuff

This commit is contained in:
Matthew Bauer
2018-05-31 12:36:45 -04:00
parent 480434f7ee
commit e99322507e
7 changed files with 9 additions and 71 deletions
@@ -1,4 +0,0 @@
# See pkgs/build-support/setup-hooks/role.bash
getHostRole
export NIX_${role_pre}LDFLAGS+=" -lfts"
-19
View File
@@ -1,19 +0,0 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
stdenv.mkDerivation rec {
name = "musl-fts-${version}";
version = "2017-01-13";
src = fetchFromGitHub {
owner = "pullmoll";
repo = "musl-fts";
rev = "0bde52df588e8969879a2cae51c3a4774ec62472";
sha256 = "1q8cpzisziysrs08b89wj0rm4p6dsyl177cclpfa0f7spjm3jg03";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
setupHooks = [
../../../build-support/setup-hooks/role.bash
./fts-setup-hook.sh
];
}
-19
View File
@@ -1,19 +0,0 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "musl-getconf";
src = fetchurl {
url = "https://raw.githubusercontent.com/alpinelinux/aports/48b16204aeeda5bc1f87e49c6b8e23d9abb07c73/main/musl/getconf.c";
sha256 = "0z14ml5343p5gapxw9fnbn2r72r7v2gk8662iifjrblh6sxhqzfq";
};
unpackPhase = ":";
buildPhase = ''$CC $src -o getconf'';
installPhase = ''
mkdir -p $out/bin
cp getconf $out/bin/
'';
}
-18
View File
@@ -1,18 +0,0 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "musl-getent";
src = fetchurl {
url = "https://raw.githubusercontent.com/alpinelinux/aports/89a718d88ec7466e721f3bbe9ede5ffe58061d78/main/musl/getent.c";
sha256 = "0b4jqnsmv1hjgcz7db3vd61k682aphl59c3yhwya2q7mkc6g48xk";
};
unpackPhase = ":";
buildPhase = ''$CC $src -o getent'';
installPhase = ''
mkdir -p $out/bin
cp getent $out/bin/
'';
}