From 7cc0691b0633b7318691cc2461c1cc5959610b09 Mon Sep 17 00:00:00 2001 From: Nick Spinale Date: Tue, 11 Jun 2024 05:50:07 +0000 Subject: [PATCH] nix: Disable hardening for OpenSBI Signed-off-by: Nick Spinale --- hacking/nix/scope/opensbi.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hacking/nix/scope/opensbi.nix b/hacking/nix/scope/opensbi.nix index 59214d2ab..8797d997a 100644 --- a/hacking/nix/scope/opensbi.nix +++ b/hacking/nix/scope/opensbi.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { hash = "sha256-JNkPvmKYd5xbGB2lsZKWrpI6rBIckWbkLYu98bw7+QY="; }; + hardeningDisable = [ "all" ]; + postPatch = '' patchShebangs ./scripts '';