ebpf-sandbox/flake.nix

21 lines
493 B
Nix
Raw Normal View History

2024-12-24 15:46:35 +00:00
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = inputs: inputs.flake-utils.lib.eachDefaultSystem (system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
{
packages.dropworld = pkgs.callPackage ./dropworld {};
2024-12-24 15:50:16 +00:00
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [bpftools bpftop];
};
2024-12-24 15:46:35 +00:00
}
);
}