mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
style(nix): move formatter to the top
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
}: let
|
||||
packageToml = (builtins.fromTOML (builtins.readFile ./Cargo.toml)).package;
|
||||
in {
|
||||
formatter = pkgs.alejandra;
|
||||
|
||||
_module.args = {
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
@@ -29,8 +31,6 @@
|
||||
};
|
||||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
|
||||
devShells = pkgs.callPackages ./shell.nix {inherit packageToml self';};
|
||||
|
||||
packages.default = pkgs.callPackage ./default.nix {inherit packageToml;};
|
||||
|
||||
Reference in New Issue
Block a user