Skip to content

Commit e7c30c7

Browse files
committed
* Don't bother doing a "make check" on Darwin or Cygwin since it won't
work (they're not ELF platforms).
1 parent c494e83 commit e7c30c7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

release.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ let
55
pkgs = import nixpkgs {};
66

77

8-
jobs = rec {
8+
jobs = {
99

1010

1111
tarball =
1212
{ patchelfSrc ? {outPath = ./.; rev = 1234;}
1313
, officialRelease ? false
1414
}:
1515

16-
pkgs.releaseTools.makeSourceTarball {
16+
pkgs.releaseTools.sourceTarball {
1717
name = "patchelf-tarball";
1818
version = builtins.readFile ./version;
1919
src = patchelfSrc;
@@ -46,6 +46,7 @@ let
4646
releaseTools.nixBuild {
4747
name = "patchelf";
4848
src = tarball;
49+
doCheck = system != "i686-darwin" && system != "i686-cygwin";
4950
};
5051

5152

0 commit comments

Comments
 (0)