move nix-prefetch-* into tarball

This commit is contained in:
Rob Vermaas 2011-01-14 14:04:46 +00:00
parent 18e23e90e2
commit 2892c92569
2 changed files with 7 additions and 4 deletions

View file

@ -21,6 +21,10 @@ rec {
preConfigure = ''
# TeX needs a writable font cache.
export VARTEXFONTS=$TMPDIR/texfonts
cp ${"${nixpkgs}/pkgs/build-support/fetchsvn/nix-prefetch-svn"} src/script
cp ${"${nixpkgs}/pkgs/build-support/fetchgit/nix-prefetch-git"} src/script
cp ${"${nixpkgs}/pkgs/build-support/fetchhg/nix-prefetch-hg"} src/script
'';
configureFlags = "--with-nix=${nix}";
@ -59,10 +63,6 @@ rec {
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
cp ${"${nixpkgs}/pkgs/build-support/fetchhg/nix-prefetch-hg"} $out/bin/nix-prefetch-hg
for i in $out/bin/*; do
wrapProgram $i \
--prefix PERL5LIB ':' $out/libexec/hydra/lib:$PERL5LIB \

View file

@ -6,4 +6,7 @@ bin_SCRIPTS = \
hydra_server.pl \
hydra_update_gc_roots.pl \
hydra_create.pl \
nix-prefetch-svn \
nix-prefetch-git \
nix-prefetch-hg \
hydra_control.sh