From 111db8b38fd8350d92d72fa17fd3d9e8ef5a0e09 Mon Sep 17 00:00:00 2001 From: Qyriad Date: Thu, 18 Apr 2024 16:15:24 -0600 Subject: meson: correctly embed sandbox shell when asked Change-Id: I2f6c0d42245204a516d2e424eea26a6391e975ad --- package.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'package.nix') diff --git a/package.nix b/package.nix index aab98c0ae..9a2e08038 100644 --- a/package.nix +++ b/package.nix @@ -182,6 +182,7 @@ stdenv.mkDerivation (finalAttrs: { lib.optionals (buildWithMeson && stdenv.hostPlatform.isLinux) [ "-Dsandbox-shell=${lib.getBin busybox-sandbox-shell}/bin/busybox" ] + ++ lib.optional stdenv.hostPlatform.isStatic "-Denable-embedded-sandbox-shell=true" ++ lib.optional (finalAttrs.dontBuild) "-Denable-build=false" # mesonConfigurePhase automatically passes -Dauto_features=enabled, # so we must explicitly enable or disable features that we are not passing -- cgit v1.2.3