aboutsummaryrefslogtreecommitdiff
path: root/lib/meta.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/meta.nix')
-rw-r--r--lib/meta.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/meta.nix b/lib/meta.nix
index ae652e579c3..8f77bbe0148 100644
--- a/lib/meta.nix
+++ b/lib/meta.nix
@@ -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).
*/