Skip to content

Commit

Permalink
Merge pull request #492 from saschagrunert/s390x
Browse files Browse the repository at this point in the history
Add support for s390x
  • Loading branch information
rhatdan authored Feb 28, 2024
2 parents 3e103d6 + 9ce7b1a commit affab49
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ static_binary_task:
- name: "Static riscv64 binary"
env:
TARGET: default-riscv64.nix
- name: "Static s390x binary"
env:
TARGET: default-s390x.nix

build_script: |
set -ex
Expand Down
7 changes: 7 additions & 0 deletions nix/default-s390x.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(import ./nixpkgs.nix {
crossSystem = {
config = "s390x-unknown-linux-gnu";
};
overlays = [ (import ./overlay.nix) ];
}).callPackage ./derivation.nix
{ }
10 changes: 5 additions & 5 deletions nix/nixpkgs.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"url": "https://github.com/nixos/nixpkgs",
"rev": "8353344d3236d3fda429bb471c1ee008857d3b7c",
"date": "2023-08-15T09:25:12+02:00",
"path": "/nix/store/r7sblbzjhxfl07r4l3nywhaprk3486zx-nixpkgs",
"sha256": "02431z7g8zmjrmqpmsxsnzz4r91cdl3a2sdz6kiqpsjalnlbxbv5",
"hash": "sha256-Za++qKVK6ovjNL9poQZtLKRM/re663pxzbJ+9M4Pgwg=",
"rev": "f4f097b65b336b1f4cdf947b7fbe076bd2a69126",
"date": "2024-02-28T11:07:01+01:00",
"path": "/nix/store/4blmmjaibdghqzk1wa8la3w9afvyldpq-nixpkgs",
"sha256": "0r1kbfbh3rbpl4w7rvyxyl3q6nchnmmd6bjwsqbz0gbsrsly7vbg",
"hash": "sha256-b+3jqc56PfAX1lwu02q1kFmDB/Xd73w4oXflAZdbM2Q=",
"fetchLFS": false,
"fetchSubmodules": false,
"deepClone": false,
Expand Down

0 comments on commit affab49

Please sign in to comment.