nixpkgs-suyu/pkgs/build-support/src-only/default.nix
zimbatm b32a057425
srcOnly: remove the ellipsis (#80903)
The function doesn't make use of the extra arguments.
2020-02-24 23:12:37 +00:00

6 lines
208 B
Nix

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