c90bd0756c
by Pjotr Prins a while back. This could also be used to generate RPMs for packages that don't have a spec-file. * Added checkinstall to Nixpkgs. However we don't use our own build yet because with it "make install" segfaults in a Debian VM, while the pre-built binary does work. svn path=/nixpkgs/trunk/; revision=13400
27 lines
547 B
Nix
27 lines
547 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);
|
|
|
|
rpmBuild = args: import ./rpm-build.nix vmTools args;
|
|
|
|
debBuild = args: import ./debian-build.nix {inherit vmTools fetchurl;} (
|
|
{ inherit stdenv;
|
|
} // args);
|
|
|
|
}
|