add default package
This commit is contained in:
21
flake.nix
21
flake.nix
@@ -13,7 +13,7 @@
|
||||
(utils.lib.eachSystem (utils.lib.defaultSystems) ( system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
in rec
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
@@ -35,17 +35,20 @@
|
||||
cp -r static $out/
|
||||
'';
|
||||
};
|
||||
checks = let
|
||||
checkArgs = {
|
||||
pkgs = pkgs;
|
||||
inherit self;
|
||||
};
|
||||
in {
|
||||
zineshop = import ./test/test.nix checkArgs;
|
||||
|
||||
packages.default = packages.zineshop;
|
||||
|
||||
checks = let
|
||||
checkArgs = {
|
||||
pkgs = pkgs;
|
||||
inherit self;
|
||||
};
|
||||
in {
|
||||
zineshop = import ./test/test.nix checkArgs;
|
||||
};
|
||||
|
||||
})) {
|
||||
|
||||
|
||||
nixosModules.zineshop = { config, lib, pkgs, ... }:
|
||||
let
|
||||
cfg = config.services.zineshop;
|
||||
|
||||
Reference in New Issue
Block a user