clan-cli: expose via flake packages
This commit is contained in:
parent
af7e4d7bb9
commit
a0701bf988
@ -22,6 +22,7 @@
|
|||||||
./flake-parts/packages.nix
|
./flake-parts/packages.nix
|
||||||
./flake-parts/formatting.nix
|
./flake-parts/formatting.nix
|
||||||
./templates/python-project/flake-module.nix
|
./templates/python-project/flake-module.nix
|
||||||
|
./pkgs/clan-cli/flake-module.nix
|
||||||
];
|
];
|
||||||
flake = {
|
flake = {
|
||||||
nixosConfigurations.installer = lib.nixosSystem {
|
nixosConfigurations.installer = lib.nixosSystem {
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||
{
|
{
|
||||||
perSystem = {pkgs, ...}: let
|
perSystem = { pkgs, ... }:
|
||||||
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
let
|
||||||
name = pyproject.project.name;
|
pyproject = builtins.fromTOML (builtins.readFile ./pyproject.toml);
|
||||||
package = pkgs.callPackage ./default.nix {};
|
name = pyproject.project.name;
|
||||||
in {
|
package = pkgs.callPackage ./default.nix { };
|
||||||
# packages.${name} = package;
|
in
|
||||||
checks.python-template = package.tests.check;
|
{
|
||||||
};
|
packages.${name} = package;
|
||||||
|
checks.${name} = package.tests.check;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user