github actions: test build from flake

This commit is contained in:
László Vaskó
2020-12-26 14:45:48 +00:00
parent 44dd899fce
commit 460e96f89d
5 changed files with 212 additions and 2 deletions

View File

@@ -70,7 +70,12 @@
rotate-text.flake = false;
};
outputs = inputs: {
hmModule = import ./modules/home-manager.nix inputs;
outputs = { nixpkgs, ... }@inputs: {
hmModule = import ./modules/home-manager.nix inputs;
checks."x86_64-linux".init-example-el =
let
pkgs = nixpkgs.legacyPackages."x86_64-linux";
in
pkgs.callPackage ./. { doomPrivateDir = ./test/doom.d; dependencyOverrides = inputs; };
};
}