diff options
author | Joachim Fasting <joachifm@fastmail.fm> | 2016-03-20 23:32:57 +0100 |
---|---|---|
committer | Joachim Fasting <joachifm@fastmail.fm> | 2016-03-23 13:16:38 +0100 |
commit | 72bcff71fe403659077fe685994dc30121822409 (patch) | |
tree | 1c4d5c5d52309ca1d2082e2502672e215605bc9b /pkgs/applications/audio/clementine | |
parent | 6206ceb600b60118a61d85c55e45b1dccc87581c (diff) | |
download | nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar.gz nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar.bz2 nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar.lz nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar.xz nixpkgs-72bcff71fe403659077fe685994dc30121822409.tar.zst nixpkgs-72bcff71fe403659077fe685994dc30121822409.zip |
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
Diffstat (limited to 'pkgs/applications/audio/clementine')
-rw-r--r-- | pkgs/applications/audio/clementine/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
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"; |