mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
freebsd.filterSource: use a less featureful rsync
By adding fewer dependencies, the FreeBSD native bootstrap tarball becomes lighter.
This commit is contained in:
parent
e68aabe87d
commit
8d5efa9741
@ -18,6 +18,17 @@ let
|
||||
lib.concatMapStringsSep "\n" (path: "/${path}") sortedPaths
|
||||
);
|
||||
in
|
||||
runCommand "${pname}-filtered-src" { nativeBuildInputs = [ pkgsBuildBuild.rsync ]; } ''
|
||||
rsync -a -r --files-from=${filterText} ${source}/ $out
|
||||
''
|
||||
runCommand "${pname}-filtered-src"
|
||||
{
|
||||
nativeBuildInputs = [
|
||||
(pkgsBuildBuild.rsync.override {
|
||||
enableZstd = false;
|
||||
enableXXHash = false;
|
||||
enableOpenSSL = false;
|
||||
enableLZ4 = false;
|
||||
})
|
||||
];
|
||||
}
|
||||
''
|
||||
rsync -a -r --files-from=${filterText} ${source}/ $out
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user