From d4e93532e2695fa7204937a96573b686a3b1a1ea Mon Sep 17 00:00:00 2001
From: Eelco Dolstra <edolstra@gmail.com>
Date: Mon, 19 Feb 2018 20:46:39 +0100
Subject: [PATCH] Fix incorrect (and unnecessary) format string

https://hydra.nixos.org/eval/1434547#tabs-now-fail
---
 src/libstore/build.cc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index 30f22833f..1d611ffba 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2520,9 +2520,9 @@ void setupSeccomp()
     if (seccomp_load(ctx) != 0)
         throw SysError("unable to load seccomp BPF program");
 #else
-    throw Error("%s\n%s",
-        "seccomp is not supported on this platform"
-        "you can avoid this by setting the filter-syscalls option to false, but note that untrusted builds can then create setuid binaries!");
+    throw Error(
+        "seccomp is not supported on this platform; "
+        "you can bypass this error by setting the option 'filter-syscalls' to false, but note that untrusted builds can then create setuid binaries!");
 #endif
 #endif
 }
-- 
GitLab