From da27305ca772a0a2dec75e87169e9100f7a43ed8 Mon Sep 17 00:00:00 2001 From: "Shahar \"Dawn\" Or" Date: Mon, 29 Jan 2024 13:46:29 +0700 Subject: [PATCH] flake: `nixosTests/${name}` instead of `${name}-toplevel` Closes 152 --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 4920905a4..188a6e3cd 100644 --- a/flake.nix +++ b/flake.nix @@ -107,7 +107,7 @@ eachDefaultSystemOutputs = flake-utils.lib.eachDefaultSystem (system: let pkgs = importNixpkgs system [rust-overlay.overlays.default]; treefmtEval = loadTreefmt pkgs; - toplevel = name: config: nameValuePair "${name}-toplevel" config.config.system.build.toplevel; + toplevel = name: config: nameValuePair "nixosTests/${name}" config.config.system.build.toplevel; in { packages = importPackages pkgs; formatter = treefmtEval.config.build.wrapper;