diff --git a/flake.nix b/flake.nix index e0817d7..04662c8 100644 --- a/flake.nix +++ b/flake.nix @@ -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";