buildDunePackage: use nativeBuildInputs for build tools
This commit is contained in:
parent
ddd479fe7c
commit
856fa067c5
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{ lib, stdenv, ocaml, findlib, dune_1, dune_2 }:
|
||||
|
||||
{ pname, version, buildInputs ? [], enableParallelBuilding ? true, ... }@args:
|
||||
{ pname, version, nativeBuildInputs ? [], enableParallelBuilding ? true, ... }@args:
|
||||
|
||||
let Dune = if args.useDune2 or false then dune_2 else dune_1; in
|
||||
|
||||
|
@ -33,7 +33,7 @@ stdenv.mkDerivation ({
|
|||
|
||||
name = "ocaml${ocaml.version}-${pname}-${version}";
|
||||
|
||||
buildInputs = [ ocaml Dune findlib ] ++ buildInputs;
|
||||
nativeBuildInputs = [ ocaml Dune findlib ] ++ nativeBuildInputs;
|
||||
|
||||
meta = (args.meta or {}) // { platforms = args.meta.platforms or ocaml.meta.platforms; };
|
||||
|
||||
|
|
Loading…
Reference in a new issue