Files
clan-core/pkgs/clan-app/flake-module.nix
2025-01-06 20:13:41 +01:00

27 lines
550 B
Nix

{ ... }:
{
perSystem =
{
config,
pkgs,
lib,
system,
self',
...
}:
if lib.elem system lib.platforms.darwin then
{ }
else
{
devShells.clan-app = pkgs.callPackage ./shell.nix {
inherit (config.packages) clan-app webview-wrapper;
inherit self';
};
packages.clan-app = pkgs.python3.pkgs.callPackage ./default.nix {
inherit (config.packages) clan-cli webview-ui;
};
checks = config.packages.clan-app.tests;
};
}