From 75e19af67b7b11eb2c7cfcba54ace16d85eccdf1 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyich@gmail.com>
Date: Mon, 10 Jul 2023 09:22:35 +0100
Subject: [PATCH] local-derivation-goal.cc: refer to the README.md on how to
 get it back

--- a/lix/libstore/build/local-derivation-goal.cc
+++ b/lix/libstore/build/local-derivation-goal.cc
@@ -212,6 +212,6 @@ void LocalDerivationGoal::tryLocalBuild()
         if (!mountAndPidNamespacesSupported()) {
             if (!settings.sandboxFallback)
-                throw Error("this system does not support the kernel namespaces that are required for sandboxing; use '--no-sandbox' to disable sandboxing. Pass --debug for diagnostics on what is broken.");
+                throw Error("failed to enable PID and USER namespace: see https://github.com/trofi/nix-guix-gentoo#missing-sandbox-support for ways to fix and workaround it.");
             debug("auto-disabling sandboxing because the prerequisite namespaces are not available");
             useChroot = false;
         }
