1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 21:41:48 +02:00

Reserve the __contentAddressed derivation parameter

Not implementing anything here, just throwing an error if a derivation
sets `__contentAddressed = true` without
`--experimental-features content-addressed-paths`
(and also with it as there's nothing implemented yet)
This commit is contained in:
regnat 2020-06-17 15:39:10 +02:00
parent ccbea8255c
commit 56d75bf4fc
3 changed files with 18 additions and 0 deletions

View file

@ -34,6 +34,8 @@ public:
bool willBuildLocally() const;
bool substitutesAllowed() const;
bool contentAddressed() const;
};
}