agtest/flake.nix

20 lines
403 B
Nix
Raw Normal View History

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};
myPkgs = rec {
agtest = pkgs.python39Packages.callPackage ./. {};
};
in
{
packages = flake-utils.lib.flattenTree myPkgs;
});
}