mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 05:00:58 +01: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