mirror of
https://github.com/nix-community/emacs-overlay.git
synced 2025-12-06 02:40:25 -08:00
Merge pull request #412 from nix-community/aarch64
flake: drop aarch64-linux cross and build native
This commit is contained in:
commit
098aab601d
1 changed files with 1 additions and 20 deletions
21
flake.nix
21
flake.nix
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue