mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-15 00:52:07 +03:00
hadoop: fix build on darwin
This commit is contained in:
parent
21fa56c145
commit
b1926f189e
@ -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 New Issue
Block a user