We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Here is a sample shell.nix for building/developing zig.
{ pkgs ? import <nixpkgs> { } }: pkgs.mkShell { hardeningDisable = [ "all" ]; buildInputs = with pkgs; [ cmake gdb ninja qemu ] ++ (with llvmPackages_13; [ clang clang-unwrapped lld llvm ]); }
The hardeningDisable part is crucial, otherwise you will get compile errors.
hardeningDisable