forked from lix-project/hydra
move nix-prefetch-* into tarball
This commit is contained in:
parent
18e23e90e2
commit
2892c92569
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue