Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/functional/meson.build: always look up ls as a coreutils proxy #11976

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

trofi
Copy link
Contributor

@trofi trofi commented Nov 26, 2024

Without the change meson setup fails on `Gentoo or Debian as those don't use multicall binary:

$ meson setup ..
...
Executing subproject nix-functional-tests
...
../src/nix-functional-tests/meson.build:24:14: ERROR: Program 'coreutils' not found or not executable

The change always uses ls to look coreutils up.

Closes: #11975

Motivation

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Without the change `meson setup` fails on `Gentoo or Debian as those
don't use multicall binary:

    $ meson setup ..
    ...
    Executing subproject nix-functional-tests
    ...
    ../src/nix-functional-tests/meson.build:24:14: ERROR: Program 'coreutils' not found or not executable

The change always uses `ls` to look `coreutils` up.

Closes: NixOS#11975
@trofi trofi requested a review from edolstra as a code owner November 26, 2024 23:10
@github-actions github-actions bot added the with-tests Issues related to testing. PRs with tests have some priority label Nov 26, 2024
@Mic92 Mic92 merged commit d467f7a into NixOS:master Nov 27, 2024
11 checks passed
@trofi trofi deleted the coreutils-by-ls branch November 27, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
with-tests Issues related to testing. PRs with tests have some priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

meson build system: ERROR: Program 'coreutils' not found or not executable
2 participants