We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0351769 commit ae0d9a4Copy full SHA for ae0d9a4
flake.nix
@@ -53,20 +53,21 @@
53
in rec {
54
default = honggfuzz-rs;
55
honggfuzz-rs = craneLib.buildPackage {
56
+ #stdenv = pkgs.clangStdenv;
57
src = craneLib.cleanCargoSource (craneLib.path ./.);
- hardeningDisable = [ "fortify" ];
58
+ #hardeningDisable = [ "fortify" ];
59
};
60
61
- devenv.shells.default = {
62
+ devenv.shells.default = rec {
63
64
packages = with pkgs; [
65
libbfd
- bintools-unwrapped
66
libunwind
- ];
67
+ ] ++ lib.optional stdenv.cc.isClang pkgsStatic.libblocksruntime;
68
69
env = {
- NIX_HARDENING_ENABLE = "";
70
+ NIX_HARDENING_ENABLE = ""; # to disable fortify flag
71
72
73
languages = {
0 commit comments