Compare commits
2 Commits
fc85113cd6
...
2e82e3a8b9
| Author | SHA1 | Date | |
|---|---|---|---|
|
2e82e3a8b9
|
|||
|
d2d0f39e33
|
@@ -1,4 +1,4 @@
|
|||||||
name: "Integration Test"
|
name: "Build"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
21
flake.nix
21
flake.nix
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user