Skip to content

Commit

Permalink
Patch nixpkgs input for lib test suite
Browse files Browse the repository at this point in the history
The `lib` test suite has a few test cases that check the output of
`nix-instantiate --eval-only`. I don't think that output is guaranteed by
any compatibility policy, so I think we should fix the tests to use the
`--json` output instead.
  • Loading branch information
9999years committed Dec 18, 2023
1 parent a5bb5a8 commit 76f1741
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Once this is updated to something containing
# https://github.com/NixOS/nixpkgs/pull/271423, don't forget
# to remove the `nix.checkAllErrors = false;` line in the tests.
inputs.nixpkgs.url = "github:NixOS/nixpkgs/staging-23.05";
inputs.nixpkgs.url = "github:9999years/nixpkgs/lib-test-modules-json-23.05-backport";
inputs.nixpkgs-regression.url = "github:NixOS/nixpkgs/215d4d0fd80ca5163643b03a33fde804a29cc1e2";
inputs.flake-compat = { url = "github:edolstra/flake-compat"; flake = false; };
inputs.libgit2 = { url = "github:libgit2/libgit2"; flake = false; };
Expand Down

0 comments on commit 76f1741

Please sign in to comment.