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
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; # TODO 24.11
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs =
|
||||||
|
{
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
flake-utils.lib.eachDefaultSystem (
|
||||||
pkgs = import nixpkgs {inherit system;};
|
system:
|
||||||
in {
|
let
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
in
|
||||||
|
{
|
||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
|
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;
|
spec = lock.nodes.nixpkgs.locked;
|
||||||
nixpkgs = fetchTarball "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
|
nixpkgs = fetchTarball "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
|
||||||
in
|
in
|
||||||
import nixpkgs
|
import nixpkgs
|
||||||
|
Loading…
Reference in New Issue
Block a user