Author: andres
Date: Fri Sep  3 07:16:57 2010
New Revision: 23607
URL: https://svn.nixos.org/websvn/nix/?rev=23607&sc=1

Log:
Minor syntactic simplification.

Modified:
   nixpkgs/trunk/pkgs/top-level/haskell-packages.nix

Modified: nixpkgs/trunk/pkgs/top-level/haskell-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/haskell-packages.nix   Thu Sep  2 21:34:37 
2010        (r23606)
+++ nixpkgs/trunk/pkgs/top-level/haskell-packages.nix   Fri Sep  3 07:16:57 
2010        (r23607)
@@ -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 @@
 
 # End of the main part of the file.
 
-}; };
+};
 
-in result.x
+in result
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to