22 lib ,
33 stdenv ,
44 mkMesonDerivation ,
5- buildPackages ,
5+
6+ meson ,
7+ ninja ,
8+ pkg-config ,
9+
10+ jq ,
11+ git ,
12+ mercurial ,
13+ unixtools ,
14+ util-linux ,
615
716 nix-store ,
817 nix-expr ,
@@ -37,17 +46,20 @@ mkMesonDerivation (
3746 ./.
3847 ] ;
3948
40- # Hack for sake of the dev shell. Need to "manually splice" since
41- # this isn't a specially-recognized list of dependencies.
42- passthru . externalNativeBuildInputs = [
43- buildPackages . meson
44- buildPackages . ninja
45- buildPackages . pkg-config
46-
47- buildPackages . jq
48- buildPackages . git
49- buildPackages . mercurial
50- buildPackages . unixtools . script
49+ nativeBuildInputs = [
50+ meson
51+ ninja
52+ pkg-config
53+
54+ jq
55+ git
56+ mercurial
57+ unixtools . script
58+
59+ # Explicitly splice the hostHost variant to fix LLVM tests. The nix-cli
60+ # has to be in PATH, but must come from the host context where it's built
61+ # with libc++.
62+ ( nix-cli . __spliced . hostHost or nix-cli )
5163 ]
5264 ++ lib . optionals stdenv . hostPlatform . isLinux [
5365 # For various sandboxing tests that needs a statically-linked shell,
@@ -56,14 +68,7 @@ mkMesonDerivation (
5668 # For Overlay FS tests need `mount`, `umount`, and `unshare`.
5769 # For `script` command (ensuring a TTY)
5870 # TODO use `unixtools` to be precise over which executables instead?
59- buildPackages . util-linux
60- ] ;
61-
62- nativeBuildInputs = finalAttrs . passthru . externalNativeBuildInputs ++ [
63- # Explicitly splice the hostHost variant to fix LLVM tests. The nix-cli
64- # has to be in PATH, but must come from the host context where it's built
65- # with libc++.
66- ( nix-cli . __spliced . hostHost or nix-cli )
71+ util-linux
6772 ] ;
6873
6974 buildInputs = [
0 commit comments