mirror of
https://github.com/NixOS/nix.git
synced 2025-11-24 11:19:35 +01:00
src/nix: Make meson compile <cmdlet> valid
Without this dependency, e.g. `meson compile nix-instantiate` would produce a broken symlink, or the `nix` it points to may be stale. With the dependency in place, `meson compile nix-instantiate` produces a reliable outcome.
This commit is contained in:
parent
8cdeab8f2e
commit
67f6a24171
1 changed files with 2 additions and 0 deletions
|
|
@ -229,6 +229,7 @@ foreach linkname : nix_symlinks
|
||||||
env : {'MSYS' : 'winsymlinks:lnk'},
|
env : {'MSYS' : 'winsymlinks:lnk'},
|
||||||
# TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working)
|
# TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working)
|
||||||
build_by_default : true,
|
build_by_default : true,
|
||||||
|
depends : this_exe,
|
||||||
)
|
)
|
||||||
# TODO(Ericson3214): Doesn't yet work
|
# TODO(Ericson3214): Doesn't yet work
|
||||||
#meson.override_find_program(linkname, t)
|
#meson.override_find_program(linkname, t)
|
||||||
|
|
@ -250,6 +251,7 @@ custom_target(
|
||||||
env : {'MSYS' : 'winsymlinks:lnk'},
|
env : {'MSYS' : 'winsymlinks:lnk'},
|
||||||
# TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working)
|
# TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working)
|
||||||
build_by_default : true,
|
build_by_default : true,
|
||||||
|
depends : this_exe,
|
||||||
)
|
)
|
||||||
# TODO(Ericson3214): Doesn't yet work
|
# TODO(Ericson3214): Doesn't yet work
|
||||||
#meson.override_find_program(linkname, t)
|
#meson.override_find_program(linkname, t)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue