Skip to content
Snippets Groups Projects
Commit 3d6a3427 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

fix the gitlab config

`cp --recursive ...` is required for permission issues
`... --out-link result-docs` is required for path collision issues
the rest is at my discretion
parent 5b272b98
No related branches found
No related tags found
2 merge requests!228merge develop into production,!190Protocol sequence diagrams for ZKAPs
......@@ -8,10 +8,13 @@ default:
docs:
stage: "build"
script:
- "nix-build docs"
- "nix-build --attr docs --out-link result-docs"
# GitLab wants to lchown artifacts. It can't do that to store paths. Get
# a copy of the docs outside of the store.
- "cp --recursive --no-preserve=mode ./result-docs/docs ./docs-build/"
artifacts:
paths:
- "./result/docs/"
- "./docs-build/"
expose_as: "documentation"
unit-tests:
......
{ pkgs ? import ./nixpkgs-2105.nix { } }:
{
docs = pkgs.callPackage ./docs.nix { };
}
......@@ -5,7 +5,7 @@ in
stdenv.mkDerivation rec {
version = "0.0";
name = "privatestorageio-${version}";
src = lib.cleanSource ../.;
src = lib.cleanSource ./.;
phases = [ "unpackPhase" "buildPhase" ];
......
{ pkgs ? import ../nixpkgs-2105.nix { } }:
pkgs.callPackage ./docs.nix { }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment