Skip to content

Commit

Permalink
gcc: Homogenize syntax in one small spot
Browse files Browse the repository at this point in the history
Less noise in the diff help maintain these behemoths.
  • Loading branch information
Ericson2314 committed Aug 18, 2017
1 parent 7320fa9 commit b11889e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions pkgs/development/compilers/gcc/4.5/default.nix
Expand Up @@ -344,8 +344,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null &&
hasAttr "propagatedBuildInputs" libcCross)
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/4.8/default.nix
Expand Up @@ -467,7 +467,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs" )
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/4.9/default.nix
Expand Up @@ -473,7 +473,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs" )
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/5/default.nix
Expand Up @@ -491,7 +491,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs" )
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs")
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/6/default.nix
Expand Up @@ -481,7 +481,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs")
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/7/default.nix
Expand Up @@ -483,7 +483,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs")
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/gcc/snapshot/default.nix
Expand Up @@ -470,7 +470,7 @@ stdenv.mkDerivation ({

# On GNU/Hurd glibc refers to Mach & Hurd
# headers.
++ optionals (libcCross != null && libcCross ? "propagatedBuildInputs")
++ optionals (libcCross != null && libcCross ? propagatedBuildInputs)
libcCross.propagatedBuildInputs);

LIBRARY_PATH = makeLibraryPath ([]
Expand Down

0 comments on commit b11889e

Please sign in to comment.