20 lines
493 B
Nix
20 lines
493 B
Nix
{
|
|
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 {};
|
|
devShells.default = pkgs.mkShell {
|
|
buildInputs = with pkgs; [bpftools bpftop];
|
|
};
|
|
}
|
|
);
|
|
}
|