fmt
This commit is contained in:
parent
a6c82632a8
commit
738d2de80d
25
flake.nix
25
flake.nix
@ -8,20 +8,31 @@
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # TODO 24.11
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
outputs = {
|
||||
outputs =
|
||||
{
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {inherit system;};
|
||||
in {
|
||||
flake-utils.lib.eachDefaultSystem (
|
||||
system:
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
devShells.default = pkgs.mkShell {
|
||||
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
||||
packages = with pkgs; [hugo brotli zopfli parallel dart-sass];
|
||||
packages = with pkgs; [
|
||||
hugo
|
||||
brotli
|
||||
zopfli
|
||||
parallel
|
||||
dart-sass
|
||||
];
|
||||
};
|
||||
|
||||
formatter = pkgs.alejandra;
|
||||
});
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@ -3,4 +3,4 @@ let
|
||||
spec = lock.nodes.nixpkgs.locked;
|
||||
nixpkgs = fetchTarball "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
|
||||
in
|
||||
import nixpkgs
|
||||
import nixpkgs
|
||||
|
Loading…
Reference in New Issue
Block a user