1
0
Fork 0

artiq-extras: set $SOURCE_DATE_EPOCH from artiq-timestamp

This commit is contained in:
Astro 2019-04-28 09:38:15 +02:00
parent 96cfa7b55f
commit 78764bab8e
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,10 @@ let
name = "${name}-manual-html-${version}";
inherit version src;
buildInputs = (with pkgs.python3Packages; [ sphinx sphinx_rtd_theme sphinx-argparse ]) ++ [ artiq ];
preBuild = "cd doc";
preBuild = ''
export SOURCE_DATE_EPOCH=${with pkgs; import ./pkgs/artiq-timestamp.nix { inherit stdenv fetchgit git; }}
cd doc
'';
makeFlags = [ "html" ];
installPhase =
let