add formatter, update readme, update site on change to the config #25
1 changed files with 2 additions and 6 deletions
|
@ -5,10 +5,11 @@
|
|||
utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, utils, }: utils.lib.eachDefaultSystem (system:
|
||||
outputs = { self, nixpkgs, utils }: utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages."${system}";
|
||||
in {
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
|
||||
defaultPackage = pkgs.stdenv.mkDerivation {
|
||||
name = "skynet-wiki";
|
||||
src = self;
|
||||
|
@ -26,11 +27,6 @@
|
|||
pkgs.python3Packages.mkdocs
|
||||
pkgs.python3Packages.mkdocs-material
|
||||
];
|
||||
shellHook = ''
|
||||
echo "Building wiki"
|
||||
mkdocs build
|
||||
mkdocs serve
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue