mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
7 lines
212 B
Nix
7 lines
212 B
Nix
|
{stdenv, name, src, patches ? [], buildInputs ? [], ...}:
|
||
|
stdenv.mkDerivation {
|
||
|
inherit src buildInputs patches name;
|
||
|
installPhase = "cp -r . $out";
|
||
|
phases = ["unpackPhase" "patchPhase" "installPhase"];
|
||
|
}
|