1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-30 06:01:00 +01:00

Add builtins.patch

This replaces the 'patches' argument to builtins.fetchTree with
something more generic. So instead of 'builtins.fetchTree { patches =
... }' you can do 'builtins.patch { src = builtins.fetchTree { ... };
patchFiles = ... }'.
This commit is contained in:
Eelco Dolstra 2022-06-10 13:10:22 +02:00
parent 2b30df7b46
commit 5f1340219b
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
3 changed files with 125 additions and 20 deletions

View file

@ -9,7 +9,7 @@ namespace nix {
MakeError(RestrictedPathError, Error);
struct InputAccessor
struct InputAccessor : public std::enable_shared_from_this<InputAccessor>
{
const size_t number;