Skip to content

Commit

Permalink
pkgs/top-level: do not forbid cross-builds from powerpc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph committed Jul 11, 2022
1 parent a3e6cd5 commit fdf0c55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/top-level/release-cross.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*/

{ # The platforms *from* which we cross compile.
supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]
supportedSystems ? [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "powerpc64le-linux" ]
, # Strip most of attributes when evaluating to spare memory usage
scrubJobs ? true
, # Attributes passed to nixpkgs. Don't build packages marked as unfree.
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/release-lib.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ rec {
pkgs_i686_freebsd = packageSet' { system = "i686-freebsd"; };
pkgs_i686_cygwin = packageSet' { system = "i686-cygwin"; };
pkgs_x86_64_cygwin = packageSet' { system = "x86_64-cygwin"; };
pkgs_powerpc64le_linux = packageSet' { system = "powerpc64le-linux"; };

in system:
if system == "x86_64-linux" then pkgs_x86_64_linux
Expand All @@ -48,6 +49,7 @@ rec {
else if system == "i686-freebsd" then pkgs_i686_freebsd
else if system == "i686-cygwin" then pkgs_i686_cygwin
else if system == "x86_64-cygwin" then pkgs_x86_64_cygwin
else if system == "powerpc64le-linux" then pkgs_powerpc64le_linux
else abort "unsupported system type: ${system}";

pkgsFor = pkgsForCross null;
Expand Down

0 comments on commit fdf0c55

Please sign in to comment.