A helper to get the source some package is built from.
svn path=/nixpkgs/trunk/; revision=12933
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{stdenv, name, src, patches ? [], buildInputs ? [], ...}:
|
||||
stdenv.mkDerivation {
|
||||
inherit src buildInputs patches name;
|
||||
installPhase = "cp -r . $out";
|
||||
phases = ["unpackPhase" "patchPhase" "installPhase"];
|
||||
}
|
||||
Reference in New Issue
Block a user