-
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macs: test chroot disable patch from nixpkgs#353709
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
diff --git a/src/libstore/unix/build/local-derivation-goal.cc b/src/libstore/unix/build/local-derivation-goal.cc | ||
index 2a09e3dd4..baeae54f8 100644 | ||
--- a/src/libstore/unix/build/local-derivation-goal.cc | ||
+++ b/src/libstore/unix/build/local-derivation-goal.cc | ||
@@ -509,11 +509,11 @@ void LocalDerivationGoal::startBuilder() | ||
/* Create a temporary directory where the build will take | ||
place. */ | ||
topTmpDir = createTempDir(settings.buildDir.get().value_or(""), "nix-build-" + std::string(drvPath.name()), false, false, 0700); | ||
-#if __APPLE__ | ||
+//#if __APPLE__ | ||
if (false) { | ||
-#else | ||
- if (useChroot) { | ||
-#endif | ||
+//#else | ||
+// if (useChroot) { | ||
+//#endif | ||
/* If sandboxing is enabled, put the actual TMPDIR underneath | ||
an inaccessible root-owned directory, to prevent outside | ||
access. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters