mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
cosmopolitan: only build libc
This commit is contained in:
parent
3a08f8d91c
commit
961472b74a
2 changed files with 3 additions and 16 deletions
|
@ -11,10 +11,6 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-UjL4wR5HhuXiQXg6Orcx2fKiVGRPMJk15P779BP1fRA=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
./ioctl.patch # required /dev/tty
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build/
|
||||
'';
|
||||
|
@ -24,6 +20,9 @@ stdenv.mkDerivation rec {
|
|||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ bintools-unwrapped unzip ];
|
||||
|
||||
# slashes are significant because upstream uses o/$(MODE)/foo.o
|
||||
buildFlags = "o/cosmopolitan.h o//cosmopolitan.a o//libc/crt/crt.o o//ape/ape.o o//ape/ape.lds";
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/{bin,include,lib}
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
diff --git a/third_party/python/python.mk b/third_party/python/python.mk
|
||||
index f18c15060..b17455bca 100644
|
||||
--- a/third_party/python/python.mk
|
||||
+++ b/third_party/python/python.mk
|
||||
@@ -1818,7 +1818,6 @@ THIRD_PARTY_PYTHON_PYTEST_PYMAINS = \
|
||||
third_party/python/Lib/test/test_int_literal.py \
|
||||
third_party/python/Lib/test/test_bisect.py \
|
||||
third_party/python/Lib/test/test_pyexpat.py \
|
||||
- third_party/python/Lib/test/test_ioctl.py \
|
||||
third_party/python/Lib/test/test_getopt.py \
|
||||
third_party/python/Lib/test/test_sort.py \
|
||||
third_party/python/Lib/test/test_slice.py \
|
Loading…
Reference in a new issue