mirror of https://gitlab.crans.org/nounous/nixos
Update install party
parent
51ef076fe1
commit
c1ed8cfeb8
|
|
@ -176,16 +176,17 @@ let
|
|||
|
||||
src = fetchFromCrans {
|
||||
repo = "site-install-party";
|
||||
rev = "2255706d59a415f53bbde812645f92a3f3a84234";
|
||||
hash = "sha256-vQt3jFIjlBWlJvKGI8qlyoVH4orzCI6nVzW+aU6a6CA=";
|
||||
rev = "4dd5fdfe8e588f3ed4dd6966fc9b72234ecdba17";
|
||||
hash = "sha256-kiuiC99TMpLbefByUAm5hBskqKuTOa2YumKDB+jO7UY=";
|
||||
};
|
||||
|
||||
build-system = with pkgs.python3Packages; [
|
||||
mkdocs
|
||||
mkdocs-material
|
||||
];
|
||||
# On ne met pas directement dans $out pour éviter la fixupPhase
|
||||
buildPhase = ''
|
||||
python3 -m mkdocs -- build -d $out
|
||||
python3 -m mkdocs -- build -d $out/site
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
@ -247,7 +248,7 @@ in
|
|||
};
|
||||
"install-party" = {
|
||||
anubisConfig = "${anubisChallenge}";
|
||||
serveLocalFiles = installPartySite;
|
||||
serveLocalFiles = "${installPartySite}/site";
|
||||
serverAliases = [
|
||||
"i-p"
|
||||
"adopteunmanchot"
|
||||
|
|
|
|||
Loading…
Reference in New Issue