agtest/flake.nix
2021-10-01 13:16:51 -05:00

19 lines
403 B
Nix

{
description = "A very basic flake";
inputs = {
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
myPkgs = rec {
agtest = pkgs.python39Packages.callPackage ./. {};
};
in
{
packages = flake-utils.lib.flattenTree myPkgs;
});
}