Skip to content

Commit 84eaf60

Browse files
committed
build: Add shell.nix to build in nixos
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
1 parent e770f7f commit 84eaf60

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

shell.nix

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{ pkgs ? import <nixpkgs> {} }:
2+
3+
pkgs.mkShell {
4+
hardeningDisable = [ "fortify" ];
5+
buildInputs = with pkgs; [
6+
clang
7+
];
8+
LIBCLANG_PATH = "${pkgs.libclang.lib}/lib";
9+
}

0 commit comments

Comments
 (0)