mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-02 02:22:06 -04:00
nix: add VM tests for flake modules (#2281)
* nix: add VM tests for flake modules * ci: add NixOS tests
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -45,6 +45,11 @@
|
||||
nixpkgs.lib.genAttrs [ "aarch64-darwin" "aarch64-linux" "x86_64-darwin" "x86_64-linux" ] (
|
||||
system: fn system nixpkgs.legacyPackages.${system}
|
||||
);
|
||||
forEachLinuxSystem =
|
||||
fn:
|
||||
nixpkgs.lib.genAttrs [ "aarch64-linux" "x86_64-linux" ] (
|
||||
system: fn system nixpkgs.legacyPackages.${system}
|
||||
);
|
||||
buildDmsPkgs = pkgs: {
|
||||
dms-shell = self.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
quickshell = quickshell.packages.${pkgs.stdenv.hostPlatform.system}.default;
|
||||
@@ -240,5 +245,16 @@
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
nixosTests = forEachLinuxSystem (
|
||||
system: pkgs:
|
||||
import ./distro/nix/tests {
|
||||
inherit
|
||||
self
|
||||
pkgs
|
||||
;
|
||||
lib = pkgs.lib;
|
||||
}
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user