[buoh/cleanups] Nix: Dusable hardening
- From: Jan Tojnar <jtojnar src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [buoh/cleanups] Nix: Dusable hardening
- Date: Fri, 14 Sep 2018 16:49:14 +0000 (UTC)
commit b3949132d5430668b8b945fb88c6e202b9efb4cc
Author: Jan Tojnar <jtojnar gmail com>
Date: Fri Sep 14 18:39:05 2018 +0200
Nix: Dusable 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]