From d7fd27cf9878de997eaf6d75481d34b7bf7154f5 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 28 Apr 2015 09:52:39 +0200 Subject: 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 --- pkgs/build-support/channel.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/build-support/channel.nix') 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" ]) -- cgit 1.4.1