Commit f97db007 authored by Travis A. Everett's avatar Travis A. Everett Committed by Alyssa Ross
Browse files

oildev: disable libc tests failing w/ musl

This test suite depends on some glibc assumptions.

I'll likely come back and make this unconditional later, but for now
we're trying to minimize rebuilds.

Reported in:
https://github.com/NixOS/nixpkgs/pull/285233#issuecomment-1935890672
parent 44011732
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -120,6 +120,9 @@ 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"
    '';

    # See earlier note on glibcLocales TODO: verify needed?