1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
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"];
}