hadoop: fix build on darwin
This commit is contained in:
parent
21fa56c145
commit
b1926f189e
2 changed files with 4 additions and 3 deletions
|
@ -32,6 +32,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
'';
|
||||
|
||||
maintainers = with maintainers; [ illustris ];
|
||||
platforms = attrNames platformAttrs;
|
||||
platforms = filter (strings.hasSuffix "linux") (attrNames platformAttrs);
|
||||
};
|
||||
})
|
||||
|
|
|
@ -40,10 +40,11 @@ let
|
|||
doCheck = true;
|
||||
|
||||
# Build the container executor binary from source
|
||||
containerExecutor = callPackage ./containerExecutor.nix {
|
||||
# InstallPhase is not lazily evaluating containerExecutor for some reason
|
||||
containerExecutor = if stdenv.isLinux then (callPackage ./containerExecutor.nix {
|
||||
inherit (finalAttrs) version;
|
||||
inherit platformAttrs;
|
||||
};
|
||||
}) else "";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ]
|
||||
++ optionals stdenv.isLinux [ autoPatchelfHook ];
|
||||
|
|
Loading…
Reference in a new issue