[buoh/cleanups: 1/7] Nix: Disable hardening
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/cleanups: 1/7] Nix: Disable hardening
- Date: Tue, 25 Sep 2018 00:07:28 +0000 (UTC)
commit 0f57d553a06536d4e45dbef86753ae1d0f87ce3f
Author: Jan Tojnar <jtojnar gmail com>
Date: Fri Sep 14 18:39:05 2018 +0200
Nix: Disable hardening
Hardening does not work in debug mode, whih is default in the shell.
default.nix | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/default.nix b/default.nix
index 35b7cdf..2f61ef6 100644
--- a/default.nix
+++ b/default.nix
@@ -63,5 +63,8 @@ stdenv.mkDerivation rec {
meson test --print-errorlogs
'';
+ # Hardening does not work in debug mode
+ hardeningDisable = optionals shell [ "all" ];
+
inherit doCheck;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]