nixpkgs/nix-dist/nix-rpm-build.nix
Eelco Dolstra 91aafbcae4 * Automatically build and upload RPMs. Building an RPM is not a pure Nix action, but
we use Nix to do it anyway.

svn path=/nixpkgs/trunk/; revision=610
2004-01-02 16:39:35 +00:00

17 lines
351 B
Nix

{stdenv, getopt, src}:
derivation {
name = "nix-rpm-build";
system = stdenv.system;
builder = ./nix-rpm-build.sh;
src = src;
stdenv = stdenv;
getopt = getopt; # required by sdf2table
# Perhaps it's possible to build RPMs in a pure way? Probably not,
# since RPM needs its database to determine dependencies.
rpm = "/bin/rpm";
}