diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-03-02 13:45:48 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-03-02 13:45:48 +0000 |
commit | 45081f330db56891e6e4f47bad295a371aac8651 (patch) | |
tree | 4f19ba528e7fbc504e68264db7315be31a702d44 /pkgs/build-support/release/default.nix | |
parent | f19aea6d5a94f930120894aefbe886d379c430eb (diff) | |
download | nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar.gz nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar.bz2 nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar.lz nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar.xz nixlib-45081f330db56891e6e4f47bad295a371aac8651.tar.zst nixlib-45081f330db56891e6e4f47bad295a371aac8651.zip |
* Append the version to the "name" attribute to make the store paths
of Hydra builds more distinct (e.g. "patchelf-build-0.5pre1234" instead of just "patchelf-build"). If the version isn't known, append at least the revision. * Propagate the release name of the source tarball to Nix builds. Useful to provide sensible package names in channels. svn path=/nixpkgs/trunk/; revision=14294
Diffstat (limited to 'pkgs/build-support/release/default.nix')
-rw-r--r-- | pkgs/build-support/release/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/build-support/release/default.nix b/pkgs/build-support/release/default.nix index 58368bddf6be..130fae6e4bb8 100644 --- a/pkgs/build-support/release/default.nix +++ b/pkgs/build-support/release/default.nix @@ -18,10 +18,12 @@ rec { doCoverageAnalysis = true; } // args); - rpmBuild = args: import ./rpm-build.nix vmTools args; + rpmBuild = args: import ./rpm-build.nix ( + { inherit vmTools; + } // args); - debBuild = args: import ./debian-build.nix {inherit vmTools fetchurl;} ( - { inherit stdenv checkinstall; + debBuild = args: import ./debian-build.nix ( + { inherit stdenv vmTools checkinstall; } // args); } |