add more pahses
This commit is contained in:
parent
472512b710
commit
8173a2e886
|
@ -1,7 +1,19 @@
|
||||||
{ stdenv, nim }:
|
{ stdenv, nim }:
|
||||||
|
|
||||||
{ name, src, nimDeps ? [], nativeBuildInputs ? [], buildInputs ? [],
|
{
|
||||||
patches ? [], patchPhase ? "", ... }:
|
name,
|
||||||
|
src,
|
||||||
|
nimDeps ? [],
|
||||||
|
nativeBuildInputs ? [],
|
||||||
|
buildInputs ? [],
|
||||||
|
patches ? [],
|
||||||
|
patchPhase ? "",
|
||||||
|
preBuild ? "",
|
||||||
|
postBuild ? "",
|
||||||
|
preInstall ? "",
|
||||||
|
postInstall ? "",
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
|
@ -40,6 +52,10 @@ stdenv.mkDerivation {
|
||||||
buildInputs = rBuildInputs;
|
buildInputs = rBuildInputs;
|
||||||
nimDeps = nimDeps;
|
nimDeps = nimDeps;
|
||||||
patchPhase = patchPhase;
|
patchPhase = patchPhase;
|
||||||
|
preBuild = preBuild;
|
||||||
|
postBuild = postBuild;
|
||||||
|
preInstall = preInstall;
|
||||||
|
postInstall = postInstall;
|
||||||
LD_LIBRARY_PATH = makeLibraryPath (rBuildInputs ++ rNativeBuildInputs);
|
LD_LIBRARY_PATH = makeLibraryPath (rBuildInputs ++ rNativeBuildInputs);
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in New Issue