nixpkgs/pkgs/build-support/src-only/default.nix

7 lines
212 B
Nix
Raw Normal View History

{stdenv, name, src, patches ? [], buildInputs ? [], ...}:
stdenv.mkDerivation {
inherit src buildInputs patches name;
installPhase = "cp -r . $out";
phases = ["unpackPhase" "patchPhase" "installPhase"];
}