aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-12-21 02:22:28 +0900
committerOphestra <cat@gensokyo.uk>2025-12-21 02:22:28 +0900
commitea815a59e85a5acad8e22e98a16cdc6de1323824 (patch)
tree65f021aca5a1f9f7b8246b005b1e311956723f58
parent28a8dc67d226adabac7d1c6289e2918304b65653 (diff)
nix: disable source fortification in devShell
This generates warnings when compiling without optimisation. Signed-off-by: Ophestra <cat@gensokyo.uk>
-rw-r--r--flake.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 80e915ff..747f77f5 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 =