3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/stdenv
aszlig 8f98a6d39b check-meta: Add isHydraChannel
This is needed in order to mark a certain derivation containing a Nix
expression tarball to Hydra so that it is recognised as a channel.

When I first got an evaluation error due to using this meta attribute, I
was under the impression that nobody outside of Vuizvui[1] is using this
feature and that we don't have any occurrence of isHydraChannel in
Nixpkgs.

However, when working around[2] the issue I assumed that it's not
something that should be included in Nixpkgs because we're not using it
there.

It turned out that my assumption was wrong and we *do* use the attribute
in Nixpkgs, namely via releaseTools.channel, which is similar to what
we're doing in Vuizvui.

Since we already include a bunch of undocumented attributes in
metaTypes, it only makes sense to add isHydraChannel as well since it's
actually documented in the Hydra documentation[3].

[1]: https://github.com/openlab-aux/vuizvui
[2]: https://github.com/openlab-aux/vuizvui/commit/e0685e81b3fdc43a272f0
[3]: 53335323ae/doc/manual/src/jobs.md (meta-fields)

Signed-off-by: aszlig <aszlig@nix.build>
2022-09-28 14:12:45 +02:00
..
cross
custom
cygwin
darwin
freebsd
generic check-meta: Add isHydraChannel 2022-09-28 14:12:45 +02:00
linux Merge pull request #185182 from amjoseph-nixpkgs/pr/powerpc64le-bootstrapFiles/again 2022-08-25 10:07:22 -03:00
native
nix
adapters.nix stdenv: remove deprecated adapters 2022-08-26 16:25:44 +02:00
booter.nix
default.nix