Tommy Bidne
Tommy Bidne
I don't much care where `getArgs :: IO [OsString]` lives either, but it must exist somewhere other than base. The question is where? `filepath` (or `file-io`) are tempting, since the...
~~If it helps, [here](https://github.com/haskell/process/compare/master...tbidne:process:getArgs) is an example of what the implementation might look like.~~ Edit: PR: https://github.com/haskell/process/pull/339
Another naive thought: could this instead be implemented by adding a new [visibility](https://cabal.readthedocs.io/en/stable/cabal-package-description-file.html#pkg-field-library-visibility)? E.g. `visibility: test`, for libraries that are externally visible only when tests are enabled.
Still important.
Related: https://github.com/NixOS/nix/issues/3796, https://github.com/NixOS/nix/issues/6901
CI is currently [failing](https://github.com/haskell/stm/actions/runs/9800280727/job/27062393870?pr=86) due to a glibc mismatch: ``` 2024-07-04T22:29:26.2172453Z Processing triggers for libc-bin (2.27-3ubuntu1.6) ... ... 2024-07-04T22:30:43.8257620Z /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node) ``` 2.27...
Thanks! PR incoming.
@wz1000 now that CI is passing, might you be able to merge this one?
MR has been updated to the current commit [here](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/12242/diffs#af5293b9a47977d962364074b7c9f2f8251149db) and CI passing.
Thanks @wz1000!