1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-03-06 23:31:34 +00:00
nixpkgs/pkgs/development/tools/build-managers
Alyssa Ross 10f35ff05d meson.setupHook: prefer meson commands over ninja
Meson now comes with its own set of commands for building, testing,
installing etc., that by default wrap around Ninja.  The reason to
prefer using the Meson commands is that they take additional
options (e.g. setting custom timeouts for tests — my motivation for
this change).

Here, I've modified the Meson setup hook so that Meson's test and
install commands will be used instead of Ninja's when Meson's
configurePhase is used.  This restriction is to avoid starting to run
Meson directly when dealing with custom build systems that wrap around
Meson, like QEMU's.  We don't use meson's compile command, as it just
runs ninja, and that's handled fine by the existing Ninja setup hook.

Naturally the Meson commands don't support entirely the same set of
options that the Ninja ones did, but I checked through Nixpkgs to find
any packages using Meson that used any options that wouldn't be picked
up by this new system.  I only found one, and it was just setting
checkTarget = "test", which is the default value for Ninja and has no
Meson equivalent (because we directly tell Meson to run the tests
rather than going through a generic job system like Ninja).

Link: https://github.com/NixOS/nixpkgs/issues/113829
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
2023-10-09 10:21:36 +00:00
..
alibuild
alire
apache-ant
apache-maven buildMavenPackage: use mvnParameters as before 2023-09-19 10:34:10 +02:00
arpa2cm
bam
bazel bazel_6: Add diffutils and gnupatch to initialEnvironment 2023-09-12 10:14:31 -07:00
bear bear: mark as broken on darwin 2023-09-05 18:06:23 +02:00
bloop
bob bob: add completion 2023-09-22 07:33:02 +02:00
boot treewide: refactor .attrs.sh detection 2023-10-04 18:36:57 +02:00
buck
buck2 buck2: unstable-2023-09-15 -> unstable-2023-10-01 2023-10-01 08:33:29 -05:00
build2
cmake
colormake
conan
corrosion corrosion: 0.4.2 -> 0.4.3 2023-09-10 14:39:02 -07:00
drake
dub dub: add jtbx to meta.maintainers 2023-09-21 16:31:54 +00:00
ekam
fac
gn
gnumake
goredo goredo: 1.30 -> 1.31 2023-09-24 17:53:20 +02:00
gprbuild
gradle Merge pull request #259221 from liff/gradle-7.6.3 2023-10-06 08:43:38 -05:00
gup
icmake
jam
kati
knit
leiningen
mage
meson meson.setupHook: prefer meson commands over ninja 2023-10-09 10:21:36 +00:00
mill mill: 0.11.2 -> 0.11.4 2023-09-28 04:19:06 +00:00
moon moon: 1.13.4 -> 1.14.3 2023-10-05 11:58:54 +00:00
msbuild msbuild: fix usage of nuget 2023-09-26 21:20:15 +02:00
muon
ninja
qbs
rake
rebar
rebar3
redo
redo-apenwarr
redo-c
redo-sh
remake
rocm-cmake
samurai
sbt sbt: 1.9.4 -> 1.9.6 2023-09-17 09:27:38 +00:00
sbt-extras sbt-extras: 2023-09-14 -> 2023-09-18 2023-09-25 04:40:21 +00:00
scala-cli
scons scons: shellcheck setupHook 2023-09-22 22:13:15 -03:00
shards
tup
turtle-build
waf waf: prefix all setup-hook variables with waf 2023-09-06 10:41:28 -03:00
xmake xmake: 2.8.2 -> 2.8.3 2023-10-01 13:07:22 +00:00