From e7516bee7dd4b458fbb74753d65910f0ea9df580 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Kr=C3=BCger?= Date: Sun, 23 Jun 2024 22:28:40 +0100 Subject: [PATCH] Upgrade to Nil and Alejandra for Nix stuff --- flake.nix | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 4e5bf69..6304dad 100644 --- a/flake.nix +++ b/flake.nix @@ -6,11 +6,14 @@ nixpkgs.url = github:NixOS/nixpkgs; }; - outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: - let + outputs = { + self, + nixpkgs, + flake-utils, + }: + flake-utils.lib.eachDefaultSystem (system: let pkgs = nixpkgs.legacyPackages.${system}; - in - { + in { devShell = pkgs.mkShell { packages = # go tooling @@ -21,8 +24,8 @@ ++ # Nix tooling (with pkgs; [ - nixpkgs-fmt - rnix-lsp + nil + alejandra ]); }; });