anchor.diff:          src = tarball;
   
           buildInputs = [ socat pkgconfig disnix ];
  -      };      
  +      };
     };
   in jobs
  
positive.code:         inherit officialRelease;
  
          buildInputs = [ socat pkgconfig libxml2 libxslt disnix dblatex tetex nukeReferences ];
  	
  	# Add documentation in the tarball
          configureFlags = ''
  	  --with-docbook-rng=${docbook5}/xml/rng/docbook
  	  --with-docbook-xsl=${docbook5_xsl}/xml/xsl/docbook
  	'';
  	
  	preConfigure = ''
  	  # TeX needs a writable font cache.
            export VARTEXFONTS=$TMPDIR/texfonts
  	'';
  	
  	preDist = ''
  	  make -C doc/manual install prefix=$out
  	  
  	  make -C doc/manual index.pdf prefix=$out
            cp doc/manual/index.pdf $out/index.pdf
  
            # The PDF containes filenames of included graphics (see
  
negative.code:           # to Windows and Macs, so there should be no Linux binaries
            # in the closure).
            nuke-refs $out/index.pdf
            
            echo "doc-pdf manual $out/index.pdf" >> $out/nix-support/hydra-build-products
            echo "doc manual $out/share/doc/disnixos/manual" >> $out/nix-support/hydra-build-products
          '';
        };
  
      build =
        { tarball ? jobs.tarball {}
        , system ? builtins.currentSystem
        , disnix ? (import ../../disnix/trunk/release.nix {}).build {}
        }:
  
  