mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-07 05:19:01 +08:00
currently packaging as a nixosModule so should be easy to integrate with nixos generators in the future. Also looking at making a docker image without systemd
20 lines
258 B
Nix
20 lines
258 B
Nix
{
|
|
lib,
|
|
self,
|
|
package-name,
|
|
...
|
|
}:
|
|
lib.flake.forAllSystems (
|
|
system:
|
|
let
|
|
mainPkg = self.packages.${system}.${package-name};
|
|
in
|
|
|
|
rec {
|
|
inherit (mainPkg) tests;
|
|
inherit (mainPkg.tests) mypy pytest nixos;
|
|
default = pytest;
|
|
}
|
|
|
|
)
|