Skip to content

meson-1.11 breaks building nix #15774

Description

@juhp

Recently Fedora updated to meson 1.11.1.

Now nix-2.34 fails to build: see NixOS/nix#15797

It seems 1.11 is more strict or regresses on expected types:

https://github.com/NixOS/nix/blob/master/doc/manual/meson.build#L234 gives:

src/nix-manual/meson.build:234:4: ERROR: custom_target keyword argument 'input' was of type array[File | LocalProgram] but should have been array[str | File | ExternalProgram | BuildTarget | CustomTarget | CustomTargetIndex | ExtractedObjects | GeneratedList]

similarly, for https://github.com/NixOS/nix/blob/master/tests/functional/meson.build#L255:
src/nix-functional-tests/meson.build:253:4: ERROR: test keyword argument 'depends' was of type array[CustomTarget | LocalProgram] but should have been array[BuildTarget | CustomTarget | CustomTargetIndex]

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions