add hydra job

This commit is contained in:
zack 2024-10-21 14:00:16 -04:00
parent e2b802f968
commit 561ea7543d
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35

View file

@ -34,15 +34,7 @@
pkgs,
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
# production.
_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.
packages.default = pkgs.beamPackages.mixRelease {
pname = "zoeys-computer";