nix dev shell (#146)
This commit is contained in:
parent
cf818e539e
commit
1e2d16cb7f
|
|
@ -21,3 +21,5 @@ compile_commands.events.json
|
||||||
/lib/poverlay_linux/overlay_client
|
/lib/poverlay_linux/overlay_client
|
||||||
pcloudcc
|
pcloudcc
|
||||||
/scanresults/
|
/scanresults/
|
||||||
|
result
|
||||||
|
.kateproject.build
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,31 @@
|
||||||
|
let
|
||||||
|
pkgs = import <nixpkgs> {};
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue