From 67f6a24171ddfd868a30d766eee18c5b09cf7356 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Sat, 22 Nov 2025 20:17:50 +0100 Subject: [PATCH] src/nix: Make meson compile 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. --- src/nix/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nix/meson.build b/src/nix/meson.build index e989e8016..61aac6b4d 100644 --- a/src/nix/meson.build +++ b/src/nix/meson.build @@ -229,6 +229,7 @@ foreach linkname : nix_symlinks env : {'MSYS' : 'winsymlinks:lnk'}, # TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working) build_by_default : true, + depends : this_exe, ) # TODO(Ericson3214): Doesn't yet work #meson.override_find_program(linkname, t) @@ -250,6 +251,7 @@ custom_target( env : {'MSYS' : 'winsymlinks:lnk'}, # TODO(Ericson2314): Don't do this once we have the `meson.override_find_program` working) build_by_default : true, + depends : this_exe, ) # TODO(Ericson3214): Doesn't yet work #meson.override_find_program(linkname, t)