summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2018-08-25 10:36:52 +0200
committerVladimír Čunát <vcunat@gmail.com>2018-08-25 10:49:18 +0200
commit2c1e736ae8ea308cecc6b6f2cf44638280393363 (patch)
tree03d1fa0a0123ad25982821c3dfc814fc0fc69e4c
parentce5106af134349a22f6c4325836a2643b931d92e (diff)
downloadnixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar.gz
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar.bz2
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar.lz
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar.xz
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.tar.zst
nixpkgs-2c1e736ae8ea308cecc6b6f2cf44638280393363.zip
gnome3.libgda: build with gcc6 on aarch64
Fixes #45618.  I don't know what's the matter.
Feel free to come with a better fix.
-rw-r--r--pkgs/desktops/gnome-3/misc/libgda/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/desktops/gnome-3/misc/libgda/default.nix b/pkgs/desktops/gnome-3/misc/libgda/default.nix
index a10675ab803..069c769efaa 100644
--- a/pkgs/desktops/gnome-3/misc/libgda/default.nix
+++ b/pkgs/desktops/gnome-3/misc/libgda/default.nix
@@ -1,4 +1,5 @@
 { stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gtk3, openssl, gnome3
+, overrideCC, gcc6
 , mysqlSupport ? false, mysql ? null
 , postgresSupport ? false, postgresql ? null
 }:
@@ -6,7 +7,7 @@
 assert mysqlSupport -> mysql != null;
 assert postgresSupport -> postgresql != null;
 
-stdenv.mkDerivation rec {
+(if stdenv.isAarch64 then overrideCC stdenv gcc6 else stdenv).mkDerivation rec {
   name = "libgda-${version}";
   version = "5.2.4";