mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 03:39:36 +01:00
TextHashMethod -> TextIngestionMethod, gate with XP feature
I suppose we can use `dynamic-derivations` for the few things we neeed.
This commit is contained in:
parent
f56c4a5bdf
commit
668377f217
11 changed files with 53 additions and 29 deletions
|
|
@ -22,7 +22,7 @@ namespace nix {
|
|||
* Somewhat obscure, used by \ref Derivation derivations and
|
||||
* `builtins.toFile` currently.
|
||||
*/
|
||||
struct TextHashMethod : std::monostate { };
|
||||
struct TextIngestionMethod : std::monostate { };
|
||||
|
||||
/**
|
||||
* An enumeration of the main ways we can serialize file system
|
||||
|
|
@ -57,7 +57,7 @@ std::string makeFileIngestionPrefix(FileIngestionMethod m);
|
|||
struct ContentAddressMethod
|
||||
{
|
||||
typedef std::variant<
|
||||
TextHashMethod,
|
||||
TextIngestionMethod,
|
||||
FileIngestionMethod
|
||||
> Raw;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue