-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathflake.nix
More file actions
38 lines (37 loc) · 1.04 KB
/
flake.nix
File metadata and controls
38 lines (37 loc) · 1.04 KB
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
{
description = "A basic flake with a shell";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.systems.url = "github:nix-systems/default";
inputs.netmonpkgs.url = "github:jaroslavpesek/netmonpkgs";
inputs.flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
outputs =
{ nixpkgs, flake-utils, netmonpkgs, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
packages = [
pkgs.bashInteractive
pkgs.nixd
pkgs.nixpkgs-fmt
pkgs.cmake
pkgs.gcc
pkgs.pkg-config
pkgs.ncurses
pkgs.fuse3
pkgs.rpm
pkgs.clang-tools
netmonpkgs.packages.x86_64-linux.nemea-modules-meta
netmonpkgs.packages.x86_64-linux.nemea-framework
netmonpkgs.packages.x86_64-linux.telemetry
];
};
}
);
}