summary refs log tree commit diff
path: root/pkgs/development/libraries/cloog-ppl
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-05 13:21:29 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2010-08-05 13:21:29 +0000
commit6fe628b99a5e45561162fe1ece368ee6c367ab81 (patch)
tree2659297b9c8c0f03bc8b3b0b1decdf8ca025b070 /pkgs/development/libraries/cloog-ppl
parente0a11f532bcc9999cab38a055b0a6f1789f8af77 (diff)
downloadnixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar.gz
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar.bz2
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar.lz
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar.xz
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.tar.zst
nixpkgs-6fe628b99a5e45561162fe1ece368ee6c367ab81.zip
* Indentation fixes.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22961
Diffstat (limited to 'pkgs/development/libraries/cloog-ppl')
-rw-r--r--pkgs/development/libraries/cloog-ppl/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/development/libraries/cloog-ppl/default.nix b/pkgs/development/libraries/cloog-ppl/default.nix
index 0919afd83c2..ca662d30eb0 100644
--- a/pkgs/development/libraries/cloog-ppl/default.nix
+++ b/pkgs/development/libraries/cloog-ppl/default.nix
@@ -1,13 +1,16 @@
 { fetchurl, stdenv, ppl, static ? false }:
 
-
 let
-    # --with-host-libstdcxx helps when *ppl* is built statically.
-    # But I will suppose that this is statically built only when ppl is also
-    # statically built.
-    staticFlags = assert static -> ppl.dontDisableStatic == true;
-        if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
+
+  # --with-host-libstdcxx helps when *ppl* is built statically.
+  # But I will suppose that this is statically built only when ppl is also
+  # statically built.
+  staticFlags =
+    assert static -> ppl.dontDisableStatic == true;
+    if static then " --enable-static --disable-shared --with-host-libstdcxx=-lstdc++" else "";
+    
 in
+
 stdenv.mkDerivation rec {
   name = "cloog-ppl-0.15.9";
 
@@ -22,7 +25,7 @@ stdenv.mkDerivation rec {
   dontDisableStatic = if static then true else false;
 
   crossAttrs = {
-      configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
+    configureFlags = "--with-ppl=${ppl.hostDrv}" + staticFlags;
   };
 
   doCheck = true;