From f78f7c9bc8c0af060d16177e9ea6720968f7d69f Mon Sep 17 00:00:00 2001 From: Kevin Yue Date: Sun, 21 Jun 2026 14:03:42 +0800 Subject: [PATCH] fix: prefer NixOS host wrappers in prebuilt package --- flake.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flake.nix b/flake.nix index a14d2c0..fafaaae 100644 --- a/flake.nix +++ b/flake.nix @@ -213,6 +213,14 @@ ++ linuxBuildInputs ++ linuxRuntimeDependencies; runScript = "/usr/bin/${binaryName}"; + profile = '' + export PATH=/run/wrappers/bin:$PATH + ''; + extraBwrapArgs = [ + "--bind-try" + "/run/wrappers" + "/run/wrappers" + ]; }; prebuiltCommands = {