Skip to content

Commit

Permalink
build: Add shell.nix to build in nixos
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <[email protected]>
  • Loading branch information
sidcha committed Oct 11, 2024
1 parent e770f7f commit 84eaf60
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
hardeningDisable = [ "fortify" ];
buildInputs = with pkgs; [
clang
];
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
}

0 comments on commit 84eaf60

Please sign in to comment.