From 9a55b76db1a00dd735ab82b1c7c030ee6705ca89 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 10 Apr 2016 15:40:30 +0200 Subject: [PATCH] mupen64plus: build with gcc49 Works around failure with gcc5, see https://hydra.nixos.org/build/34273319/nixlog/1/raw Not a real fix, but a working build is better than nothing ... I have tested that the program at least runs: it fails to load a few plugins, tho, have no idea to what extent that affects use Couldn't load plugin 'ricevideo.so': /nix/store/...-mupen64plus-1.5/share/mupen64plus/plugins/ricevideo.so: undefined symbol: glCombinerInputNV Couldn't load plugin 'glN64.so': /nix/store/...-mupen64plus-1.5/share/mupen64plus/plugins/glN64.so: undefined symbol: glCombinerInputNV --- pkgs/top-level/all-packages.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ad45e7bee69f..394c3c403ae6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -16113,7 +16113,9 @@ in mongoc = callPackage ../development/libraries/mongoc { }; - mupen64plus = callPackage ../misc/emulators/mupen64plus { }; + mupen64plus = callPackage ../misc/emulators/mupen64plus { + stdenv = overrideCC stdenv gcc49; + }; inherit (callPackages ../tools/package-management/nix { storeDir = config.nix.storeDir or "/nix/store";