add hydra job
This commit is contained in:
parent
e2b802f968
commit
561ea7543d
1 changed files with 6 additions and 9 deletions
15
flake.nix
15
flake.nix
|
|
@ -34,15 +34,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: {
|
||||||
heroicons = pkgs.fetchFromGitHub {
|
|
||||||
owner = "tailwindlabs";
|
|
||||||
repo = "heroicons";
|
|
||||||
rev = "v2.1.1";
|
|
||||||
hash = "sha256-y/kY8HPJmzB2e7ErgkUdQijU7oUhfS3fI093Rsvyvqs=";
|
|
||||||
sparseCheckout = ["optimized"];
|
|
||||||
};
|
|
||||||
in {
|
|
||||||
# Define a consistent package set for development, testing, and
|
# Define a consistent package set for development, testing, and
|
||||||
# production.
|
# production.
|
||||||
_module.args.pkgs = import nixpkgs {
|
_module.args.pkgs = import nixpkgs {
|
||||||
|
|
@ -62,6 +54,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Add hydraJob for x86_64-linux
|
||||||
|
hydraJobs = lib.optionalAttrs (system == "x86_64-linux") {
|
||||||
|
default = self.packages.${system}.default;
|
||||||
|
};
|
||||||
|
|
||||||
# You can build your Elixir application using mixRelease.
|
# You can build your Elixir application using mixRelease.
|
||||||
packages.default = pkgs.beamPackages.mixRelease {
|
packages.default = pkgs.beamPackages.mixRelease {
|
||||||
pname = "zoeys-computer";
|
pname = "zoeys-computer";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue