We currently have to re-run our integration tests a lot because they are depending on the whole repository. This pull request changes locks the clan-core used for vm tests. This has the caveat that we might not run the latest NixOS machine of our profiles. On the upside we can test behaviour against an older clan-core version and capture breakages and make it backwards compatible. If we actually want to test the latest version, the PR that changes the exposed flake api, could also bump the clan-core snapshot.
43 lines
1.4 KiB
Nix
43 lines
1.4 KiB
Nix
{ inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./clan-cli/flake-module.nix
|
|
./clan-app/flake-module.nix
|
|
./clan-vm-manager/flake-module.nix
|
|
./installer/flake-module.nix
|
|
./webview-ui/flake-module.nix
|
|
./distro-packages/flake-module.nix
|
|
./icon-update/flake-module.nix
|
|
./generate-test-vars/flake-module.nix
|
|
./clan-core-flake/flake-module.nix
|
|
];
|
|
|
|
flake.packages.x86_64-linux =
|
|
let
|
|
pkgs = inputs.nixpkgs.legacyPackages.x86_64-linux;
|
|
in
|
|
{
|
|
yagna = pkgs.callPackage ./yagna { };
|
|
};
|
|
|
|
perSystem =
|
|
{ config, pkgs, ... }:
|
|
{
|
|
packages = {
|
|
tea-create-pr = pkgs.callPackage ./tea-create-pr { };
|
|
zerotier-members = pkgs.callPackage ./zerotier-members { };
|
|
zt-tcp-relay = pkgs.callPackage ./zt-tcp-relay { };
|
|
moonlight-sunshine-accept = pkgs.callPackage ./moonlight-sunshine-accept { };
|
|
merge-after-ci = pkgs.callPackage ./merge-after-ci { inherit (config.packages) tea-create-pr; };
|
|
minifakeroot = pkgs.callPackage ./minifakeroot { };
|
|
pending-reviews = pkgs.callPackage ./pending-reviews { };
|
|
editor = pkgs.callPackage ./editor/clan-edit-codium.nix { };
|
|
classgen = pkgs.callPackage ./classgen { };
|
|
zerotierone = pkgs.callPackage ./zerotierone { };
|
|
webview-lib = pkgs.callPackage ./webview-lib { };
|
|
update-clan-core-for-checks = pkgs.callPackage ./update-clan-core-for-checks { };
|
|
};
|
|
};
|
|
}
|