aliases: don't distribute on Hydra

This commit is contained in:
Nikolay Amiantov
2017-05-27 20:44:00 +03:00
parent addb96c323
commit 2d0a7c4eee
2 changed files with 17 additions and 5 deletions

View File

@@ -17,6 +17,11 @@ rec {
drv // { meta = (drv.meta or {}) // newAttrs; };
/* Disable Hydra builds of given derivation.
*/
dontDistribute = drv: addMetaAttrs { hydraPlatforms = []; } drv;
/* Change the symbolic name of a package for presentation purposes
(i.e., so that nix-env users can tell them apart).
*/