From c51b2a8beb736da2ab886396d604d37ecd29bce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Fri, 3 Sep 2010 07:16:57 +0000 Subject: [PATCH] Minor syntactic simplification. svn path=/nixpkgs/trunk/; revision=23607 --- pkgs/top-level/haskell-packages.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index cb74f03d6c12..71faca5480ae 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -2,9 +2,7 @@ let ghcReal = pkgs.lowPrio ghc; in -let result = rec { - - x = let callPackage = newScope x; in +let result = let callPackage = newScope result; in # Indentation deliberately broken at this point to keep the bulk # of this file at a low indentation level. @@ -746,6 +744,6 @@ rec { # End of the main part of the file. -}; }; +}; -in result.x +in result