1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/build-support/release/default.nix

28 lines
539 B
Nix
Raw Normal View History

{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;
} // args);
}