Files
clan-core/pkgs/clan-app/flake-module.nix
2025-01-11 10:52:22 +07:00

28 lines
584 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-lib;
inherit self';
};
packages.clan-app = pkgs.callPackage ./default.nix {
inherit (config.packages) clan-cli webview-ui webview-lib;
pythonRuntime = pkgs.python3;
};
checks = config.packages.clan-app.tests;
};
}