Add support for passing a Nix expression on the command line

Fixes #38.
This commit is contained in:
Zhaofeng Li
2022-08-17 10:59:44 -06:00
parent 9f64612215
commit 23f4dfdc24
2 changed files with 16 additions and 2 deletions
+3
View File
@@ -55,3 +55,6 @@ def test_flake() -> None:
def test_expression() -> None:
common_test(["ci.nix"])
with open(TEST_ROOT.joinpath("assets/ci.nix"), "r") as ci_nix:
common_test(["-E", ci_nix.read()])