about summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2014-05-04 15:01:06 +0200
committeraszlig <aszlig@redmoonstudios.org>2014-05-05 20:45:53 +0200
commit4f3085d5f8916eb1afebdddda4e9bfe675b29c52 (patch)
tree7321886c3d3476bf3bb7259fa5240750abbee562 /pkgs/applications/networking
parent5bfe944907b0afcc979e4db7058cbfd884fd029b (diff)
downloadnixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar.gz
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar.bz2
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar.lz
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar.xz
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.tar.zst
nixlib-4f3085d5f8916eb1afebdddda4e9bfe675b29c52.zip
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 <nixpkgs> 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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/browsers/chromium/source/update.nix4
1 files changed, 3 insertions, 1 deletions
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 <nixpkgs> {}) lib writeText stdenv;
+  inherit (import <nixpkgs> {
+    inherit system;
+  }) lib writeText stdenv;
 
   sources = if builtins.pathExists ./sources.nix
             then import ./sources.nix