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:
parent
2b30df7b46
commit
5f1340219b
3 changed files with 125 additions and 20 deletions
|
|
@ -9,7 +9,7 @@ namespace nix {
|
|||
|
||||
MakeError(RestrictedPathError, Error);
|
||||
|
||||
struct InputAccessor
|
||||
struct InputAccessor : public std::enable_shared_from_this<InputAccessor>
|
||||
{
|
||||
const size_t number;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue