Skip to content

Commit

Permalink
Upgrade to Nil and Alejandra for Nix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
vapourismo committed Jun 23, 2024
1 parent 7f9ad7a commit e7516be
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,8 +24,8 @@
++
# Nix tooling
(with pkgs; [
nixpkgs-fmt
rnix-lsp
nil
alejandra
]);
};
});
Expand Down

0 comments on commit e7516be

Please sign in to comment.