From 5956f509b6ab03d46fa86702449fccae2a1c42be Mon Sep 17 00:00:00 2001 From: eldritch horrors Date: Fri, 29 Mar 2024 23:37:53 +0100 Subject: [PATCH] meson: install libexec binaries Change-Id: I149892bf081e1569d7786f085e890bc3d2eb50e5 --- meson.build | 1 + src/nix/meson.build | 8 ++++++++ 2 files changed, 9 insertions(+) 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' +)