haskell-defaults.nix: fix the "highPrio" variant of the haskell package set

"High priority" is not the same the thing as "not explicitly marked as
low priority".
This commit is contained in:
Peter Simons 2014-05-07 15:13:48 +02:00
parent 7cd55c7744
commit 437ed5aae4

View file

@ -8,7 +8,7 @@
# The actual Haskell packages are composed in haskell-packages.nix. There is
# more documentation in there.
{ makeOverridable, lowPrio, stdenv, pkgs, newScope, config, callPackage } : rec {
{ makeOverridable, lowPrio, hiPrio, stdenv, pkgs, newScope, config, callPackage } : rec {
# Preferences functions.
#
@ -243,7 +243,7 @@
packages = args : let r = packagesFun args;
in r // { lowPrio = r.override { modifyPrio = lowPrio; };
highPrio = r.override { modifyPrio = x : x; };
highPrio = r.override { modifyPrio = hiPrio; };
noProfiling = r.override { profDefault = false;
profExplicit = true;
modifyPrio = defaultVersionPrioFun false; };