mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
Revert "Add a separate manual job"
This reverts commit 5e3ad1dde0
. Manual
generation now depends on the 'nix' command.
This commit is contained in:
parent
c3e20d8c28
commit
b4ef3d7078
1 changed files with 5 additions and 19 deletions
24
flake.nix
24
flake.nix
|
@ -144,6 +144,11 @@
|
||||||
|
|
||||||
installFlags = "sysconfdir=$(out)/etc";
|
installFlags = "sysconfdir=$(out)/etc";
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mkdir -p $doc/nix-support
|
||||||
|
echo "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products
|
||||||
|
'';
|
||||||
|
|
||||||
doInstallCheck = true;
|
doInstallCheck = true;
|
||||||
installCheckFlags = "sysconfdir=$(out)/etc";
|
installCheckFlags = "sysconfdir=$(out)/etc";
|
||||||
|
|
||||||
|
@ -210,25 +215,6 @@
|
||||||
# Perl bindings for various platforms.
|
# Perl bindings for various platforms.
|
||||||
perlBindings = nixpkgs.lib.genAttrs systems (system: nixpkgsFor.${system}.nix.perl-bindings);
|
perlBindings = nixpkgs.lib.genAttrs systems (system: nixpkgsFor.${system}.nix.perl-bindings);
|
||||||
|
|
||||||
# Separate build for just the manual.
|
|
||||||
manual =
|
|
||||||
with nixpkgsFor.x86_64-linux;
|
|
||||||
stdenv.mkDerivation {
|
|
||||||
name = "nix-manual-${version}";
|
|
||||||
src = self;
|
|
||||||
buildInputs = [ mdbook ];
|
|
||||||
configurePhase = ":";
|
|
||||||
buildPhase = ":";
|
|
||||||
installPhase =
|
|
||||||
''
|
|
||||||
touch Makefile.config
|
|
||||||
docdir=$out/share/doc/nix
|
|
||||||
make docdir=$docdir doc_generate=yes $docdir/manual/index.html
|
|
||||||
mkdir -p $out/nix-support
|
|
||||||
echo "doc manual $docdir/manual" >> $out/nix-support/hydra-build-products
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Binary tarball for various platforms, containing a Nix store
|
# Binary tarball for various platforms, containing a Nix store
|
||||||
# with the closure of 'nix' package, and the second half of
|
# with the closure of 'nix' package, and the second half of
|
||||||
# the installation script.
|
# the installation script.
|
||||||
|
|
Loading…
Reference in a new issue