diff options
author | Nikolay Amiantov <ab@fmap.me> | 2017-05-27 20:44:00 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2017-06-04 00:57:45 +0300 |
commit | 2d0a7c4eeecd22f26eb37f6077a0397c32250375 (patch) | |
tree | b1e585fb4e65e80b97bef26f1b8bd3febc10d536 /lib/meta.nix | |
parent | addb96c323c1d2e0cb880907d9be08e663706f6a (diff) | |
download | nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar.gz nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar.bz2 nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar.lz nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar.xz nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.tar.zst nixpkgs-2d0a7c4eeecd22f26eb37f6077a0397c32250375.zip |
aliases: don't distribute on Hydra
Diffstat (limited to 'lib/meta.nix')
-rw-r--r-- | lib/meta.nix | 5 |
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). */ |