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