2008-11-24 16:10:06 +01:00
|
|
|
{pkgs}:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
rec {
|
|
|
|
|
2008-11-28 17:12:50 +01:00
|
|
|
makeSourceTarball = args: import ./make-source-tarball.nix (
|
|
|
|
{ inherit autoconf automake libtool;
|
|
|
|
stdenv = stdenvNew;
|
|
|
|
} // args);
|
2008-11-24 16:10:06 +01:00
|
|
|
|
|
|
|
nixBuild = args: import ./nix-build.nix (
|
|
|
|
{ inherit stdenv;
|
|
|
|
doCoverageAnalysis = false;
|
|
|
|
} // args);
|
|
|
|
|
|
|
|
coverageAnalysis = args: nixBuild (
|
|
|
|
{ inherit lcov;
|
|
|
|
doCoverageAnalysis = true;
|
|
|
|
} // args);
|
|
|
|
|
2008-11-25 01:20:51 +01:00
|
|
|
rpmBuild = args: import ./rpm-build.nix vmTools args;
|
|
|
|
|
2008-11-25 03:20:41 +01:00
|
|
|
debBuild = args: import ./debian-build.nix {inherit vmTools fetchurl;} (
|
2008-11-25 01:20:51 +01:00
|
|
|
{ inherit stdenv;
|
|
|
|
} // args);
|
|
|
|
|
|
|
|
}
|