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