2 Commits

Author SHA1 Message Date
2e82e3a8b9 fix check name
Some checks failed
Build / flake-check (push) Failing after 1m46s
2025-04-13 14:20:50 +02:00
d2d0f39e33 add default package 2025-04-13 14:20:35 +02:00
2 changed files with 13 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
name: "Integration Test" name: "Build"
on: on:
push: push:
jobs: jobs:

View File

@@ -13,7 +13,7 @@
(utils.lib.eachSystem (utils.lib.defaultSystems) ( system: (utils.lib.eachSystem (utils.lib.defaultSystems) ( system:
let let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
in in rec
{ {
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
@@ -35,17 +35,20 @@
cp -r static $out/ cp -r static $out/
''; '';
}; };
checks = let
checkArgs = { packages.default = packages.zineshop;
pkgs = pkgs;
inherit self; checks = let
}; checkArgs = {
in { pkgs = pkgs;
zineshop = import ./test/test.nix checkArgs; inherit self;
}; };
in {
zineshop = import ./test/test.nix checkArgs;
};
})) { })) {
nixosModules.zineshop = { config, lib, pkgs, ... }: nixosModules.zineshop = { config, lib, pkgs, ... }:
let let
cfg = config.services.zineshop; cfg = config.services.zineshop;