diff --git a/.gitignore b/.gitignore index ea2211f..282cc2e 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,5 @@ compile_commands.events.json /lib/poverlay_linux/overlay_client pcloudcc /scanresults/ +result +.kateproject.build diff --git a/default.nix b/default.nix new file mode 100644 index 0000000..3ded3b9 --- /dev/null +++ b/default.nix @@ -0,0 +1,31 @@ +let + pkgs = import {}; +in +pkgs.mkShell { + buildInputs = with pkgs; [ + zlib + sqlite + boost + libudev-zero + readline + fuse + mbedtls + ]; + + CFLAGS = [ + "-I${pkgs.zlib.dev}/include" + "-I${pkgs.sqlite.dev}/include" + "-I${pkgs.boost.dev}/include" + "-I${pkgs.readline.dev}/include" + "-I${pkgs.fuse.dev}/include" + "-I${pkgs.mbedtls}/include" + ]; + CXXFLAGS = [ + "-I${pkgs.zlib.dev}/include" + "-I${pkgs.sqlite.dev}/include" + "-I${pkgs.boost.dev}/include" + "-I${pkgs.readline.dev}/include" + "-I${pkgs.fuse.dev}/include" + "-I${pkgs.mbedtls}/include" + ]; +}