diff --git a/meson.build b/meson.build index 8f2a2f88d..5bb7d3738 100644 --- a/meson.build +++ b/meson.build @@ -50,6 +50,7 @@ path_opts = [ 'mandir', 'libdir', 'includedir', + 'libexecdir', # Homecooked Lix directories. 'store-dir', 'state-dir', diff --git a/src/nix/meson.build b/src/nix/meson.build index 61fc36c9c..cb8f73174 100644 --- a/src/nix/meson.build +++ b/src/nix/meson.build @@ -118,3 +118,11 @@ foreach linkname : nix_symlinks install_tag : 'runtime' ) endforeach + +install_symlink( + 'build-remote', + pointing_to : bindir / 'nix', + install_dir : libexecdir / 'nix', + # The 'runtime' tag is what executables default to, which we want to emulate here. + install_tag : 'runtime' +)