diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-04-21 08:05:46 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-04-21 08:05:46 +0200 |
commit | 239f72e4a2b8ded94758d12efb0e2a0e307bcfaf (patch) | |
tree | 4310239bb5d642efe06f101052c8bb9762d3e85f | |
parent | 23001b46c16fb0906e3317d244b0160eaf403545 (diff) |
channel: Pass meta.isHydraChannel = true.
In the latest not-yet-public implementation of Hydra channel improvements, we now have a meta attribute to designate a channel. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | pkgs/build-support/channel.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/build-support/channel.nix b/pkgs/build-support/channel.nix index db147bb7..f2837a96 100644 --- a/pkgs/build-support/channel.nix +++ b/pkgs/build-support/channel.nix @@ -3,7 +3,7 @@ { name, src, constituents ? [], meta ? {}, ... }@args: stdenv.mkDerivation { - inherit name src constituents meta; + inherit name src constituents; _hydraAggregate = true; phases = [ "unpackPhase" "installPhase" ]; @@ -24,4 +24,8 @@ stdenv.mkDerivation { fi done ''; + + meta = meta // { + isHydraChannel = true; + }; } // removeAttrs args [ "name" "channelName" "src" "constituents" "meta" ] |