Add experimental combinator handling
I have a few combinator ideas that I'd like to try adding but I still haven't fully fleshed them out yet. In order to reduce breaking people's setup, this introduces a new `experimental` flag on combinators that separates them on the docs website to let users know that their design may not be fully finalized yet.
This commit is contained in:
parent
7acd363b6d
commit
731ba22f60
5 changed files with 45 additions and 12 deletions
|
|
@ -158,7 +158,7 @@ runNixDrvWithinVm vmConfig nixDrvExpr = do
|
|||
};
|
||||
script = let
|
||||
jail-nix = import <jail-nix> {};
|
||||
jail = jail-nix.extend { inherit pkgs; };
|
||||
jail = jail-nix.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
testToRun = #{nixDrvExpr};
|
||||
in ''
|
||||
(
|
||||
|
|
@ -204,7 +204,7 @@ evalNixExpr nixExpr = do
|
|||
lib = pkgs.lib;
|
||||
sh = script: (pkgs.writeShellApplication { name = "test-script"; text = script; });
|
||||
jail-nix = import <jail-nix> {};
|
||||
jail = jail-nix.extend { inherit pkgs; };
|
||||
jail = jail-nix.extend { inherit pkgs; suppressExperimentalWarnings = true; };
|
||||
in #{nixExpr}
|
||||
|]
|
||||
liftIO $
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue