2021-10-01 18:16:51 +00:00
|
|
|
{
|
|
|
|
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};
|
2021-10-01 18:38:40 +00:00
|
|
|
pythonPkgs = pkgs.python39Packages;
|
|
|
|
|
2021-10-01 18:16:51 +00:00
|
|
|
myPkgs = rec {
|
2021-10-01 18:38:40 +00:00
|
|
|
agtest = pythonPkgs.callPackage ./. {};
|
2021-10-01 18:16:51 +00:00
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
packages = flake-utils.lib.flattenTree myPkgs;
|
|
|
|
});
|
|
|
|
}
|