From 43ba4489bd3f9f69519f5f7ebdb76d0455eccbbe Mon Sep 17 00:00:00 2001 From: oxalica Date: Fri, 28 Apr 2023 06:07:38 +0800 Subject: [PATCH] flake: unwrap devShells.*.tests This reverts commit 6f9781b1b0cf3fedbe9d2d0a785aeec4d6085c10 to fix errors of `nix flake check` and `nix flake show`. The `devShells` attribute is expected to be an attrset of derivations, not nested attrsets. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index df50d3e58..3cb02d326 100644 --- a/flake.nix +++ b/flake.nix @@ -90,7 +90,7 @@ let pkgs = nixpkgs.legacyPackages.${system}; tests = import ./tests { inherit pkgs; }; - in { tests = tests.run; }); + in tests.run); packages = forAllSystems (system: let