From 110f1bb9fd3768a87e8b58d97c95fe817836feda Mon Sep 17 00:00:00 2001 From: nikstur Date: Mon, 26 Dec 2022 16:33:19 +0100 Subject: [PATCH] flake.nix: move lanzatool to inputsFrom in devShell When lanzatool is in the packages attr of the devShell, any compliation error in lanzatool means direnv cannot load the environment anymore. Then LSP support in your editor and even cargo in your shell is missing. --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 66bfc65..ff3621e 100644 --- a/flake.nix +++ b/flake.nix @@ -118,7 +118,6 @@ devShells.x86_64-linux.default = pkgs.mkShell { packages = [ uefi-run - lanzatool pkgs.openssl (pkgs.sbctl.override { databasePath = "pki"; @@ -133,6 +132,7 @@ inputsFrom = [ lanzaboote + lanzatool ]; };