2008-11-24 07:10:06 -08:00
|
|
|
{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);
|
|
|
|
|
2008-11-24 16:20:51 -08:00
|
|
|
rpmBuild = args: import ./rpm-build.nix vmTools args;
|
|
|
|
|
2008-11-24 18:20:41 -08:00
|
|
|
debBuild = args: import ./debian-build.nix {inherit vmTools fetchurl;} (
|
2008-11-24 16:20:51 -08:00
|
|
|
{ inherit stdenv;
|
|
|
|
} // args);
|
|
|
|
|
|
|
|
}
|