trying to get fmt to work

This commit is contained in:
esy 2024-08-20 20:41:20 +01:00
parent de22c5dae8
commit eeb4224c1e
No known key found for this signature in database
2 changed files with 97 additions and 3 deletions

View file

@ -3,13 +3,14 @@
inputs = {
utils.url = "github:numtide/flake-utils";
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
};
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
outputs = { self, nixpkgs, utils, alejandra}: utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages."${system}";
in {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
packages.formatter = alejandra.defaultPackage.${system};
defaultPackage = pkgs.stdenv.mkDerivation {
name = "skynet-wiki";
src = self;