aliases: don't distribute on Hydra

This commit is contained in:
Nikolay Amiantov
2017-06-04 00:57:45 +03:00
parent addb96c323
commit 2d0a7c4eee
2 changed files with 17 additions and 5 deletions
+5
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).
*/