diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-12-21 02:22:28 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-12-21 02:22:28 +0900 |
| commit | ea815a59e85a5acad8e22e98a16cdc6de1323824 (patch) | |
| tree | 65f021aca5a1f9f7b8246b005b1e311956723f58 /flake.nix | |
| parent | 28a8dc67d226adabac7d1c6289e2918304b65653 (diff) | |
nix: disable source fortification in devShell
This generates warnings when compiling without optimisation.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 = |
