This commit is contained in:
Motiejus Jakštys 2024-10-09 22:00:02 -04:00
parent a6c82632a8
commit 738d2de80d
2 changed files with 27 additions and 16 deletions

View File

@ -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 (
system:
let
pkgs = import nixpkgs { inherit system; }; pkgs = import nixpkgs { inherit system; };
in { 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;
}); }
);
} }