mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Merge pull request #12473 from SomeoneSerge/patch-1
doc: recursive-nix: advertise requiredSystemFeatures
This commit is contained in:
commit
75db01c6f5
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ constexpr std::array<ExperimentalFeatureDetails, numXpFeatures> xpFeatureDetails
|
||||||
|
|
||||||
runCommand "foo"
|
runCommand "foo"
|
||||||
{
|
{
|
||||||
|
# Optional: let Nix know "foo" requires the experimental feature
|
||||||
|
requiredSystemFeatures = [ "recursive-nix" ];
|
||||||
buildInputs = [ nix jq ];
|
buildInputs = [ nix jq ];
|
||||||
NIX_PATH = "nixpkgs=${<nixpkgs>}";
|
NIX_PATH = "nixpkgs=${<nixpkgs>}";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue