pre-commit: unbreak darwin (#414549)
This commit is contained in:
commit
3e3afe5174
@ -12,12 +12,14 @@
|
|||||||
perl,
|
perl,
|
||||||
cabal-install,
|
cabal-install,
|
||||||
julia,
|
julia,
|
||||||
|
julia-bin,
|
||||||
pre-commit,
|
pre-commit,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with python3Packages;
|
with python3Packages;
|
||||||
let
|
let
|
||||||
i686Linux = stdenv.buildPlatform.system == "i686-linux";
|
i686Linux = stdenv.buildPlatform.system == "i686-linux";
|
||||||
|
julia' = if lib.meta.availableOn stdenv.hostPlatform julia then julia else julia-bin;
|
||||||
in
|
in
|
||||||
buildPythonApplication rec {
|
buildPythonApplication rec {
|
||||||
pname = "pre-commit";
|
pname = "pre-commit";
|
||||||
@ -61,7 +63,7 @@ buildPythonApplication rec {
|
|||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
re-assert
|
re-assert
|
||||||
cabal-install
|
cabal-install
|
||||||
julia
|
julia'
|
||||||
]
|
]
|
||||||
++ lib.optionals (!i686Linux) [
|
++ lib.optionals (!i686Linux) [
|
||||||
# coursier can be moved back to the main nativeCheckInputs list once we’re able to bootstrap a
|
# coursier can be moved back to the main nativeCheckInputs list once we’re able to bootstrap a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user