Skip to content

Commit

Permalink
haskell-shelly: move version override to haskell-defaults.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
peti committed Jun 9, 2014
1 parent 7c89fcc commit 9dd2b3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions pkgs/top-level/haskell-defaults.nix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
haddock = self.haddock_2_11_0;
haskeline = super.haskeline.override { cabal = self.cabal.override { Cabal = self.Cabal_1_16_0_3; }; };
scientific = self.scientific_0_2_0_2;
shelly = self.shelly_0_15_4_1;
};

ghc722Prefs = self : super : ghc742Prefs self super // {
Expand Down
4 changes: 1 addition & 3 deletions pkgs/top-level/haskell-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1936,9 +1936,7 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in

shelly_0_15_4_1 = callPackage ../development/libraries/haskell/shelly/0.15.4.1.nix {};
shelly_1_5_3_1 = callPackage ../development/libraries/haskell/shelly {};
shelly = if (pkgs.stdenv.lib.versionOlder ghc.version "7.6")
then self.shelly_0_15_4_1
else self.shelly_1_5_3_1;
shelly = self.shelly_1_5_3_1;

simpleReflect = callPackage ../development/libraries/haskell/simple-reflect {};

Expand Down

0 comments on commit 9dd2b3c

Please sign in to comment.