add formatter, update readme, update site on change to the config #25
1 changed files with 30 additions and 24 deletions
12
flake.nix
12
flake.nix
|
@ -6,11 +6,17 @@
|
||||||
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
alejandra.url = "github:kamadorueda/alejandra/3.0.0";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, utils, alejandra}: utils.lib.eachDefaultSystem (system:
|
outputs = {
|
||||||
let
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
utils,
|
||||||
|
alejandra,
|
||||||
|
}:
|
||||||
|
utils.lib.eachDefaultSystem (
|
||||||
|
system: let
|
||||||
pkgs = nixpkgs.legacyPackages."${system}";
|
pkgs = nixpkgs.legacyPackages."${system}";
|
||||||
in {
|
in {
|
||||||
packages.formatter = alejandra.defaultPackage.${system};
|
formatter = alejandra.defaultPackage.${system};
|
||||||
defaultPackage = pkgs.stdenv.mkDerivation {
|
defaultPackage = pkgs.stdenv.mkDerivation {
|
||||||
name = "skynet-wiki";
|
name = "skynet-wiki";
|
||||||
src = self;
|
src = self;
|
||||||
|
|
Loading…
Reference in a new issue