forked from libnet/libnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
39 lines (36 loc) · 1.09 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
description = "Nix-based C, C++ Development";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/22.05";
utils.url = "github:numtide/flake-utils";
utils.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, ... }@inputs: inputs.utils.lib.eachSystem [
"x86_64-linux" "i686-linux" "aarch64-linux" "x86_64-darwin"
] (system: let pkgs = import nixpkgs {
inherit system;
};
in {
devShell = pkgs.mkShell rec {
name = "libnet-dev-shell";
packages = with pkgs; [
gnumake
pkg-config
automake
libtool
autoconf
indent
cmocka
# Compilers
gcc12
clang_14
# Other tools
clang-tools
bear
indent
shellcheck
cscope
];
};
});
}