freebsd.cp: init

While cp is part of freebsd.bin, this particular package is critical for
early stdenv boot and has its own derivation to require fewer
dependencies
This commit is contained in:
Audrey Dutcher 2024-05-27 12:44:04 -07:00
parent 2bf350788c
commit 1bc374d91d

View File

@ -0,0 +1,10 @@
{ mkDerivation }:
mkDerivation {
path = "bin/cp";
extraPaths = [ "sys" ];
postPatch = ''
substituteInPlace $BSDSRCDIR/bin/cp/Makefile --replace 'tests' ""
'';
}