forked from lix-project/hydra
hydra: fix tarball build, add pre suffix to tarballs
This commit is contained in:
parent
3d3a495d27
commit
834ebdea4b
|
@ -1,4 +1,4 @@
|
|||
AC_INIT([hydra],[0.1],[rob.vermaas@gmail.com])
|
||||
AC_INIT([hydra],[m4_esyscmd([echo -n $(cat ./version)$VERSION_SUFFIX])])
|
||||
AM_INIT_AUTOMAKE([foreign])
|
||||
|
||||
AC_PROG_CC
|
||||
|
|
10
release.nix
10
release.nix
|
@ -11,10 +11,15 @@ rec {
|
|||
|
||||
releaseTools.makeSourceTarball {
|
||||
name = "hydra-tarball";
|
||||
version = "0.1";
|
||||
src = hydraSrc;
|
||||
inherit officialRelease;
|
||||
|
||||
buildInputs = [ perl libxslt dblatex tetex ] ;
|
||||
|
||||
preConfigure = ''
|
||||
# TeX needs a writable font cache.
|
||||
export VARTEXFONTS=$TMPDIR/texfonts
|
||||
'';
|
||||
};
|
||||
|
||||
build =
|
||||
|
@ -32,7 +37,7 @@ rec {
|
|||
configureFlags = "--with-nix=${nix}";
|
||||
|
||||
buildInputs =
|
||||
[ perl makeWrapper libtool dblatex nix unzip ]
|
||||
[ perl makeWrapper libtool nix unzip nukeReferences ]
|
||||
++ (import ./deps.nix) { inherit pkgs; };
|
||||
|
||||
hydraPath = stdenv.lib.concatStringsSep ":" (map (p: "${p}/bin") ( [
|
||||
|
@ -43,6 +48,7 @@ rec {
|
|||
|
||||
postInstall = ''
|
||||
ensureDir $out/nix-support
|
||||
nuke-refs $out/share/doc/hydra/manual/manual.pdf
|
||||
|
||||
cp ${"${nixpkgs}/pkgs/build-support/fetchsvn/nix-prefetch-svn"} $out/bin/nix-prefetch-svn
|
||||
cp ${"${nixpkgs}/pkgs/build-support/fetchgit/nix-prefetch-git"} $out/bin/nix-prefetch-git
|
||||
|
|
Loading…
Reference in a new issue