From ea815a59e85a5acad8e22e98a16cdc6de1323824 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Sun, 21 Dec 2025 02:22:28 +0900 Subject: [PATCH] nix: disable source fortification in devShell This generates warnings when compiling without optimisation. Signed-off-by: Ophestra --- flake.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 80e915f..747f77f 100644 --- a/flake.nix +++ b/flake.nix @@ -160,7 +160,10 @@ pkgs = nixpkgsFor.${system}; in { - default = pkgs.mkShell { buildInputs = hakurei.targetPkgs; }; + default = pkgs.mkShell { + buildInputs = hakurei.targetPkgs; + hardeningDisable = [ "fortify" ]; + }; withPackage = pkgs.mkShell { buildInputs = [ hakurei ] ++ hakurei.targetPkgs; }; vm =