tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
hadoop: fix build on darwin
illustris
2 years ago
b1926f18
21fa56c1
+4
-3
2 changed files
expand all
collapse all
unified
split
pkgs
applications
networking
cluster
hadoop
containerExecutor.nix
default.nix
+1
-1
pkgs/applications/networking/cluster/hadoop/containerExecutor.nix
···
32
32
'';
33
33
34
34
maintainers = with maintainers; [ illustris ];
35
35
-
platforms = attrNames platformAttrs;
35
35
+
platforms = filter (strings.hasSuffix "linux") (attrNames platformAttrs);
36
36
};
37
37
})
+3
-2
pkgs/applications/networking/cluster/hadoop/default.nix
···
40
40
doCheck = true;
41
41
42
42
# Build the container executor binary from source
43
43
-
containerExecutor = callPackage ./containerExecutor.nix {
43
43
+
# InstallPhase is not lazily evaluating containerExecutor for some reason
44
44
+
containerExecutor = if stdenv.isLinux then (callPackage ./containerExecutor.nix {
44
45
inherit (finalAttrs) version;
45
46
inherit platformAttrs;
46
46
-
};
47
47
+
}) else "";
47
48
48
49
nativeBuildInputs = [ makeWrapper ]
49
50
++ optionals stdenv.isLinux [ autoPatchelfHook ];