From 960323ec735a0c5a2a5739545c36134828980b37 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 23 Aug 2010 14:40:37 +0000 Subject: [PATCH] pkgs/stdenv/generic: cosmetic changes svn path=/nixpkgs/trunk/; revision=23361 --- pkgs/stdenv/generic/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index fa2dc516ff6..f19addc8a51 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -39,7 +39,7 @@ let meta = { description = "The default build environment for Unix packages in Nixpkgs"; }; - + # Add a utility function to produce derivations that use this # stdenv and its shell. mkDerivation = attrs: @@ -90,7 +90,9 @@ let (if attrs ? passthru then attrs.passthru else {}); # Utility flags to test the type of platform. - isDarwin = result.system == "i686-darwin" || result.system == "powerpc-darwin" || result.system == "x86_64-darwin"; + isDarwin = result.system == "i686-darwin" + || result.system == "powerpc-darwin" + || result.system == "x86_64-darwin"; isLinux = result.system == "i686-linux" || result.system == "x86_64-linux" || result.system == "powerpc-linux" @@ -139,5 +141,5 @@ let }.result; - + in stdenvGenerator ./setup.sh