diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:57:47 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-12-28 19:57:47 +0100 |
commit | 88b11196c130b6bda5fd2e57729e876527c63377 (patch) | |
tree | f1e0830e586a151fb41ad6b58b271c3592b07a0e /pkgs/development/compilers | |
parent | 84779a6f7da93bd6325f478c62c82cc0a1a2e341 (diff) | |
download | nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar.gz nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar.bz2 nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar.lz nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar.xz nixlib-88b11196c130b6bda5fd2e57729e876527c63377.tar.zst nixlib-88b11196c130b6bda5fd2e57729e876527c63377.zip |
Clean up redundant "if condition then true else false"
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/gcc/4.3/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/compilers/gcc/4.4/default.nix | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/gcc/4.3/default.nix b/pkgs/development/compilers/gcc/4.3/default.nix index 04e9f25fedfd..73680996a837 100644 --- a/pkgs/development/compilers/gcc/4.3/default.nix +++ b/pkgs/development/compilers/gcc/4.3/default.nix @@ -129,7 +129,7 @@ stdenv.mkDerivation ({ enableMultilib; }; # ghdl does not build fine with parallel building - enableParallelBuilding = if langVhdl then false else true; + enableParallelBuilding = !langVhdl; meta = { homepage = "http://gcc.gnu.org/"; diff --git a/pkgs/development/compilers/gcc/4.4/default.nix b/pkgs/development/compilers/gcc/4.4/default.nix index 09609894ac67..804a797bac12 100644 --- a/pkgs/development/compilers/gcc/4.4/default.nix +++ b/pkgs/development/compilers/gcc/4.4/default.nix @@ -243,7 +243,7 @@ stdenv.mkDerivation ({ enableMultilib version; }; # ghdl does not build fine with parallel building - enableParallelBuilding = if langVhdl then false else true; + enableParallelBuilding = !langVhdl; meta = { homepage = http://gcc.gnu.org/; |