From 4f3085d5f8916eb1afebdddda4e9bfe675b29c52 Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 4 May 2014 15:01:06 +0200 Subject: [PATCH] chromium/source: Propagate system attribute. The system attribute was already there in the function head of the shared update helper but it actually wasn't used and thus later the import of was done using builtins.currentSystem instead of the system attribute inherited from the source derivation. Now we correctly propagate the attribute, so that even when running a 64bit kernel you can run a 32bit Chromium with binary plugins. Signed-off-by: aszlig --- .../networking/browsers/chromium/source/update.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/chromium/source/update.nix b/pkgs/applications/networking/browsers/chromium/source/update.nix index 09f834a90c6f..de45d4099371 100644 --- a/pkgs/applications/networking/browsers/chromium/source/update.nix +++ b/pkgs/applications/networking/browsers/chromium/source/update.nix @@ -1,7 +1,9 @@ { system ? builtins.currentSystem }: let - inherit (import {}) lib writeText stdenv; + inherit (import { + inherit system; + }) lib writeText stdenv; sources = if builtins.pathExists ./sources.nix then import ./sources.nix