mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
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:
parent
2bf350788c
commit
1bc374d91d
10
pkgs/os-specific/bsd/freebsd/pkgs/cp.nix
Normal file
10
pkgs/os-specific/bsd/freebsd/pkgs/cp.nix
Normal file
@ -0,0 +1,10 @@
|
||||
{ mkDerivation }:
|
||||
mkDerivation {
|
||||
path = "bin/cp";
|
||||
|
||||
extraPaths = [ "sys" ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace $BSDSRCDIR/bin/cp/Makefile --replace 'tests' ""
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user