1
0
Fork 0
forked from Skynet/wiki

remove shell hook, try add formatter

This commit is contained in:
esy 2024-08-20 17:25:14 +01:00
parent deb7fff2f9
commit de22c5dae8
No known key found for this signature in database

View file

@ -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
'';
};
}
);