We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47cf41 commit 70da825Copy full SHA for 70da825
.devops/nix/package.nix
@@ -157,6 +157,12 @@ effectiveStdenv.mkDerivation (
157
substituteInPlace ./*.py --replace "/usr/bin/env python" "${llama-python}/bin/python"
158
'';
159
160
+ # requires sandboxing to be off or relaxed on MacOS (off by default)
161
+ preConfigure = lib.optionals useMetalKit ''
162
+ export PATH=/usr/bin:$PATH # make sure /usr/bin/xcrun is on PATH
163
+ echo $PATH
164
+ '';
165
+
166
nativeBuildInputs =
167
[
168
cmake
0 commit comments