2
0
Fork 0

Remove libc package

This needs to be done properly at the overlay
This commit is contained in:
Emery Hemingway 2020-03-26 19:54:34 +05:30
parent 14fc773ac9
commit ca4b1a0b3f
4 changed files with 0 additions and 42 deletions

View File

@ -105,8 +105,6 @@ in rec {
NOVA = legacyPackages.callPackage ./NOVA { }; NOVA = legacyPackages.callPackage ./NOVA { };
libc = callPackage' ./libc { inherit depot; };
solo5 = let drv = callPackage' ./solo5 { }; solo5 = let drv = callPackage' ./solo5 { };
in drv // { tests = addManifest drv.tests // { pname = "solo5-tests"; }; }; in drv // { tests = addManifest drv.tests // { pname = "solo5-tests"; }; };

View File

@ -1,23 +0,0 @@
# SPDX-License-Identifier: CC0-1.0
{ stdenvNoCC, depot }:
let stdenv = stdenvNoCC;
in stdenv.mkDerivation {
pname = "libc";
version = "12.0.0";
outputs = [ "out" "dev" ];
dontUnpack = true;
dontConfigure = true;
dontBuild = true;
installPhase = ''
cp -r ${depot.libc} $out
mkdir -p $dev/lib/pkgconfig
substituteAll ${./libc.pc} libc.pc
substituteAll ${./libm.pc} libm.pc
install -Dt $dev/lib/pkgconfig *.pc
'';
}

View File

@ -1,9 +0,0 @@
libdir=@out@/lib
Name: genode-libc
Description: Genode C runtime library
URL: https://genode.org/
Version: @version@
Requires: vfs
Cflags: -D__FreeBSD__=8 -D__ISO_C_VISIBLE=1999 -fno-builtin-sin -fno-builtin-cos -fno-builtin-sinf -fno-builtin-cosf
Libs: -L${libdir} -l:libc.lib.so

View File

@ -1,8 +0,0 @@
libdir=@out@/lib
Name: genode-libm
Description: Genode math library
URL: https://genode.org/
Version: @version@
Requires: libc
Libs: -L${libdir} -l:libm.lib.so