Merge pull request #412 from nix-community/aarch64

flake: drop aarch64-linux cross and build native
This commit is contained in:
adisbladis 2024-07-08 11:07:06 +12:00 committed by GitHub
commit 098aab601d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@
# Run Hercules CI for these systems.
herculesCI.ciSystems = [ "x86_64-linux" ];
} // flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
} // flake-utils.lib.eachSystem [ "aarch64-linux" "x86_64-linux" ] (system:
{
hydraJobs =
let
@ -58,25 +58,6 @@
inherit (pkgs) emacs-pgtk;
};
emacsen-cross =
let
crossTargets = [ "aarch64-multiplatform" ];
in
lib.fold lib.recursiveUpdate { }
(builtins.map
(target:
let
targetPkgs = pkgs.pkgsCross.${target};
in
lib.mapAttrs' (name: job: lib.nameValuePair "${name}-${target}" job)
({
inherit (targetPkgs) emacs-unstable emacs-unstable-nox;
inherit (targetPkgs) emacs-unstable-pgtk;
inherit (targetPkgs) emacs-git emacs-git-nox;
inherit (targetPkgs) emacs-pgtk;
}))
crossTargets);
packages = mkEmacsSet pkgs.emacs;
packages-unstable = mkEmacsSet pkgs.emacs-unstable;
};