diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-04-28 09:52:39 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2015-04-28 09:52:39 +0200 |
commit | d7fd27cf9878de997eaf6d75481d34b7bf7154f5 (patch) | |
tree | 0f977c34f4178e38fc9cee71026c081073066621 /pkgs/build-support | |
parent | d5434f56a1b87e999edb4cece3ebd4593db4be60 (diff) |
channel: Fix passing attributes to mkChannel.
The problem here was that the attributes were added to the resulting derivation of mkDerivation instead of the input attribute set. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/build-support')
-rw-r--r-- | pkgs/build-support/channel.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/channel.nix b/pkgs/build-support/channel.nix index 48f28526..6a03dbc5 100644 --- a/pkgs/build-support/channel.nix +++ b/pkgs/build-support/channel.nix @@ -2,7 +2,7 @@ { name, src, constituents ? [], meta ? {}, ... }@args: -stdenv.mkDerivation { +stdenv.mkDerivation ({ inherit name src constituents; _hydraAggregate = true; @@ -28,4 +28,4 @@ stdenv.mkDerivation { meta = meta // { isHydraChannel = true; }; -} // removeAttrs args [ "name" "channelName" "src" "constituents" "meta" ] +} // removeAttrs args [ "name" "channelName" "src" "constituents" "meta" ]) |