From 72bcff71fe403659077fe685994dc30121822409 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Sun, 20 Mar 2016 23:32:57 +0100 Subject: [PATCH] clementineFree: fix gcc5 build Uses gcc switches that are no longer valid. Also strip -Werror for good measure. See https://hydra.nixos.org/build/33277865/nixlog/1/raw --- pkgs/applications/audio/clementine/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix index c9b16b65267..cf58dffef02 100644 --- a/pkgs/applications/audio/clementine/default.nix +++ b/pkgs/applications/audio/clementine/default.nix @@ -50,6 +50,12 @@ let name = "clementine-free-${version}"; inherit patches src buildInputs; enableParallelBuilding = true; + postPatch = '' + sed -i src/CMakeLists.txt \ + -e 's,-Werror,,g' \ + -e 's,-Wno-unknown-warning-option,,g' \ + -e 's,-Wno-unused-private-field,,g' + ''; meta = with stdenv.lib; { homepage = "http://www.clementine-player.org"; description = "A multiplatform music player";