add default package
This commit is contained in:
19
flake.nix
19
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,14 +35,17 @@
|
|||||||
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;
|
||||||
|
};
|
||||||
|
|
||||||
})) {
|
})) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user