flake: unwrap devShells.*.tests

This reverts commit 6f9781b1b0 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.
This commit is contained in:
oxalica 2023-04-28 06:07:38 +08:00 committed by Robert Helgesson
parent d82c9af817
commit 43ba4489bd
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -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