used formatter
This commit is contained in:
parent
28901f25f1
commit
b49f8a6a03
@ -5,14 +5,13 @@
|
||||
nixpkgs.url = github:nixos/nixpkgs/nixos-23.05;
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
}: let
|
||||
outputs = { self, nixpkgs }:
|
||||
let
|
||||
supportedSystems = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ];
|
||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||
pkgs = forAllSystems (system: nixpkgs.legacyPackages.${system});
|
||||
in {
|
||||
|
||||
# Formatter
|
||||
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
|
||||
|
||||
@ -30,6 +29,7 @@
|
||||
(poetry2nix.mkPoetryEnv { projectDir = self; })
|
||||
poetry
|
||||
];
|
||||
|
||||
};
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user