1
0
Fork 0
forked from mirror/dwl

devShell and CompileCommands

This commit is contained in:
Zynh Ludwig 2025-02-23 01:45:48 -08:00
parent 559a7ccb44
commit dce58b8c51
2 changed files with 84 additions and 2 deletions

View file

@ -1 +1,80 @@
[]
[
{
"arguments": [
"/nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0/bin/gcc",
"-I/nix/store/3jn6qdkamvfjqh3lbw8lcin3y79x96kg-libinput-1.26.2-dev/include",
"-I/nix/store/a6hxv2jnyalsqd3qhrbddgdi64mfchf4-libxcb-1.17.0-dev/include",
"-I/nix/store/hridjg9m5dvjmasams0w274qi79q8jpw-libxkbcommon-1.7.0-dev/include",
"-I/nix/store/f86x63y57hwyx9nl4l098fpl93y3xrya-pixman-0.43.4/include/pixman-1",
"-I/nix/store/q5j3r3znkjpn2ga2ys259x9axm5j330c-wayland-1.23.1-dev/include",
"-I/nix/store/q0li8ml3bwmay3y2pna4q07sfy0p5dn0-wlroots-0.18.1/include/wlroots-0.18",
"-I/nix/store/1x06b0pqi44z0dbvh516d95mjxc6s3y9-xcb-util-wm-0.4.2-dev/include",
"-I/nix/store/bxsp7zmspvffxj0r9s7q8kzgcjys839n-fcft-3.1.9/include",
"-I.",
"-DWLR_USE_UNSTABLE",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"v0.7-25-g559a7cc-dirty\"",
"-DXWAYLAND",
"-g",
"-pedantic",
"-Wall",
"-Wextra",
"-Wdeclaration-after-statement",
"-Wno-unused-parameter",
"-Wshadow",
"-Wunused-macros",
"-Werror=strict-prototypes",
"-Werror=implicit",
"-Werror=return-type",
"-Werror=incompatible-pointer-types",
"-Wfloat-conversion",
"-O1",
"-c",
"-o",
"dwl.o",
"dwl.c"
],
"directory": "/home/ravenshade/Documents/projects/dwl",
"file": "/home/ravenshade/Documents/projects/dwl/dwl.c",
"output": "/home/ravenshade/Documents/projects/dwl/dwl.o"
},
{
"arguments": [
"/nix/store/4apajimszc47rxwcpvc3g3rj2icinl71-gcc-wrapper-13.3.0/bin/gcc",
"-I/nix/store/3jn6qdkamvfjqh3lbw8lcin3y79x96kg-libinput-1.26.2-dev/include",
"-I/nix/store/a6hxv2jnyalsqd3qhrbddgdi64mfchf4-libxcb-1.17.0-dev/include",
"-I/nix/store/hridjg9m5dvjmasams0w274qi79q8jpw-libxkbcommon-1.7.0-dev/include",
"-I/nix/store/f86x63y57hwyx9nl4l098fpl93y3xrya-pixman-0.43.4/include/pixman-1",
"-I/nix/store/q5j3r3znkjpn2ga2ys259x9axm5j330c-wayland-1.23.1-dev/include",
"-I/nix/store/q0li8ml3bwmay3y2pna4q07sfy0p5dn0-wlroots-0.18.1/include/wlroots-0.18",
"-I/nix/store/1x06b0pqi44z0dbvh516d95mjxc6s3y9-xcb-util-wm-0.4.2-dev/include",
"-I/nix/store/bxsp7zmspvffxj0r9s7q8kzgcjys839n-fcft-3.1.9/include",
"-I.",
"-DWLR_USE_UNSTABLE",
"-D_POSIX_C_SOURCE=200809L",
"-DVERSION=\"v0.7-25-g559a7cc-dirty\"",
"-DXWAYLAND",
"-g",
"-pedantic",
"-Wall",
"-Wextra",
"-Wdeclaration-after-statement",
"-Wno-unused-parameter",
"-Wshadow",
"-Wunused-macros",
"-Werror=strict-prototypes",
"-Werror=implicit",
"-Werror=return-type",
"-Werror=incompatible-pointer-types",
"-Wfloat-conversion",
"-O1",
"-c",
"-o",
"util.o",
"util.c"
],
"directory": "/home/ravenshade/Documents/projects/dwl",
"file": "/home/ravenshade/Documents/projects/dwl/util.c",
"output": "/home/ravenshade/Documents/projects/dwl/util.o"
}
]

View file

@ -17,12 +17,15 @@
zdwl = config.packages.default;
};
packages.default = pkgs.dwl.overrideAttrs (old: {
buildInputs = old.buildInputs ++ (with pkgs; [
buildInputs = old.buildInputs ++ (with pkgs; [
fcft
libdrm.dev
]);
src = ./.;
});
devShells.default = pkgs.mkShell {
buildInputs = self'.packages.default.buildInputs ++ self'.packages.default.nativeBuildInputs;
};
};
};
}