fix: prefer NixOS host wrappers in prebuilt package

This commit is contained in:
Kevin Yue committed 2026-06-21 14:03:42 +08:00
1 parent 7e11693ce3
commit f78f7c9bc8
1 file changed
+8
+8
View File
@@ -213,6 +213,14 @@
++ linuxBuildInputs ++ linuxBuildInputs
++ linuxRuntimeDependencies; ++ linuxRuntimeDependencies;
runScript = "/usr/bin/${binaryName}"; runScript = "/usr/bin/${binaryName}";
profile = ''
export PATH=/run/wrappers/bin:$PATH
'';
extraBwrapArgs = [
"--bind-try"
"/run/wrappers"
"/run/wrappers"
];
}; };
prebuiltCommands = { prebuiltCommands = {