Skip to content

Commit

Permalink
nix : disable hardening flags (because of fortify) in devShells
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaslepoix committed Nov 26, 2024
1 parent 252f331 commit 9a2ebd3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ stdenv.mkDerivation {
];
};

shellHook = ''
unset NIX_HARDENING_ENABLE
'';

cmakeFlags = lib.optionals (!withGui) [
"-DQRFL_MINIMAL=ON"
];
Expand Down

0 comments on commit 9a2ebd3

Please sign in to comment.