From a79f4e520e36174a6616ad92b99771c14732d065 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 10 Feb 2024 13:16:53 +0100 Subject: resholve: oildev: disable libc tests unconditionally There's no point testing the behaviour of libc on some platforms and not others if we intend to run on all of them. --- pkgs/development/misc/resholve/oildev.nix | 1 - 1 file changed, 1 deletion(-) (limited to 'pkgs/development/misc') diff --git a/pkgs/development/misc/resholve/oildev.nix b/pkgs/development/misc/resholve/oildev.nix index 4e7cdb5e60438..2098ec80f5ae7 100644 --- a/pkgs/development/misc/resholve/oildev.nix +++ b/pkgs/development/misc/resholve/oildev.nix @@ -120,7 +120,6 @@ rec { rm cpp/stdlib.h # keep modules from finding the wrong stdlib? # work around hard parse failure documented in oilshell/oil#1468 substituteInPlace osh/cmd_parse.py --replace 'elif self.c_id == Id.Op_LParen' 'elif False' - '' + lib.optionalString (!stdenv.hostPlatform.isGnu && !stdenv.hostPlatform.isDarwin) '' # disable fragile libc tests substituteInPlace build/py.sh --replace "py-ext-test pyext/libc_test.py" "#py-ext-test pyext/libc_test.py" ''; -- cgit 1.4.1