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
|
|
|
|
{
|
2024-12-24 20:34:28 +00:00
|
|
|
packages = {
|
|
|
|
dropworld = pkgs.callPackage ./dropworld {};
|
|
|
|
tcpfilter = pkgs.callPackage ./tcpfilter {};
|
|
|
|
};
|
|
|
|
|
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
|
|
|
}
|
|
|
|
);
|
|
|
|
}
|