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 (
|
2008-12-10 11:58:07 +01:00
|
|
|
{ inherit stdenv autoconf automake libtool;
|
2008-11-28 17:12:50 +01:00
|
|
|
} // args);
|
2008-11-24 16:10:06 +01:00
|
|
|
|
|
|
|
nixBuild = args: import ./nix-build.nix (
|
|
|
|
{ inherit stdenv;
|
|
|
|
} // 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-12-10 18:12:19 +01:00
|
|
|
{ inherit stdenv checkinstall;
|
2008-11-25 01:20:51 +01:00
|
|
|
} // args);
|
|
|
|
|
|
|
|
}
|