[Nix-dev] kde 4.7/4.8 breaks as boost150 is default

Joachim Schiele js at lastlog.de
Mon Sep 24 00:18:59 CEST 2012


dear nixers,

i just wanted to experiment with nixos-rebuild switch but it usually 
breaks when compiling:

========== kde 4.7 ==========
rocs-4.7.4 using boost 1.50 -> http://hydra.nixos.org/build/3000740/log/raw

========= kde 4.8 ==========
and for kde 4.8 i have this issue:
kde-workspace-4.8.4 ->
 
nix/store/yhxiskfanj72kdhwyrhbf964hm79xc41-boost-1.51.0/include/boost/type_traits/detail/has_binary_operator.hp:50: 
Parse error at "BOOST_JOIN"

====

someone at kde-devel mentioned that kde 4.7 should work when using boost 
47 or 49 instead of 50 as we are doing right now

my questions are now:
- will someone fix this? i try compiling the 4.7 expressions using a 
global boost setting in /etc/nixos/configuration.nix

   nixpkgs.config.packageOverrides = pkgs : rec {
     boost = pkgs.boost147;
   };

- if i wanted to override the kde4 with kde48 (instead of kde47 which is 
the default right now) i use this:

   nixpkgs.config.packageOverrides = pkgs : rec {
     kde4 = pkgs.kde48;
   };

how could i force the kde48 expressions to use boost147 and leave the 
system default at 150?

best wishes,
joachim schiele


More information about the nix-dev mailing list