nixpkgs/pkgs/build-support/release/default.nix
Eelco Dolstra 01acea6bbc * Start moving the Nix expressions that support the build farm
(e.g. making source tarballs, doing coverage analysis) to the
  Nixpkgs tree.  This makes it easier to run build farm jobs locally
  since you don't need to check out the "release" tree separately.
  Also it means one less input to declare for build farm jobs.

* Removed succeedOnFailure and separate logging of phases.  Hydra
  doesn't need that.

svn path=/nixpkgs/trunk/; revision=13388
2008-11-24 15:10:06 +00:00

20 lines
375 B
Nix

{pkgs}:
with pkgs;
rec {
makeSourceTarball = args: import ./make-source-tarball.nix
({inherit stdenv autoconf automake libtool;} // args);
nixBuild = args: import ./nix-build.nix (
{ inherit stdenv;
doCoverageAnalysis = false;
} // args);
coverageAnalysis = args: nixBuild (
{ inherit lcov;
doCoverageAnalysis = true;
} // args);
}