d25aa3c8a5
* checkinstall: get rid of the RUNPATH in the LD_PRELOAD library so that it works with native Glibc (e.g. in VM builds). * debBuild: use our own checkinstall. In particular this allows us to build Debs on x86_64. svn path=/nixpkgs/trunk/; revision=13608
27 lines
552 B
Nix
27 lines
552 B
Nix
{pkgs}:
|
|
|
|
with pkgs;
|
|
|
|
rec {
|
|
|
|
makeSourceTarball = args: import ./make-source-tarball.nix (
|
|
{ inherit autoconf automake libtool;
|
|
stdenv = stdenvNew;
|
|
} // args);
|
|
|
|
nixBuild = args: import ./nix-build.nix (
|
|
{ inherit stdenv;
|
|
} // 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 checkinstall;
|
|
} // args);
|
|
|
|
}
|