forked from Skynet/wiki
remove shell hook, try add formatter
This commit is contained in:
parent
deb7fff2f9
commit
de22c5dae8
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