···19 sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
20 };
210022 patches = [ ./glibc214.patch ]
23 # Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
24 # alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
···19 sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
20 };
2122+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lsocket -lnsl";
23+24 patches = [ ./glibc214.patch ]
25 # Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
26 # alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
···6# I've also tried adding -z direct and -z lazyload, but it gave too many problems with C++ exceptions :'(
7# Also made sure libgcc would not be lazy-loaded, as suggested here: https://www.illumos.org/issues/2534#note-3
8# but still no success.
9-cmd="@prog@ -z ignore"
1011args=("$@");
12
···6# I've also tried adding -z direct and -z lazyload, but it gave too many problems with C++ exceptions :'(
7# Also made sure libgcc would not be lazy-loaded, as suggested here: https://www.illumos.org/issues/2534#note-3
8# but still no success.
9+cmd="@ld@ -z ignore"
1011args=("$@");
12
···14 # the temporary build directory).
15 if test "${p:0:1}" != "/"; then return 1; fi
160017 # Otherwise, the path should refer to the store or some temporary
18 # directory (including the build directory).
19 test \
···14 # the temporary build directory).
15 if test "${p:0:1}" != "/"; then return 1; fi
1617+ @extraPathTests@
18+19 # Otherwise, the path should refer to the store or some temporary
20 # directory (including the build directory).
21 test \
+2-2
pkgs/build-support/setup-hooks/patch-shebangs.sh
···19 local newInterpreterLine
2021 find "$dir" -type f -perm -0100 | while read f; do
22- if [ "$(head -1 "$f" | head -c +2)" != '#!' ]; then
23 # missing shebang => not a script
24 continue
25 fi
2627- oldInterpreterLine=$(head -1 "$f" | tail -c +3)
28 read -r oldPath arg0 args <<< "$oldInterpreterLine"
2930 if $(echo "$oldPath" | grep -q "/bin/env$"); then
···19 local newInterpreterLine
2021 find "$dir" -type f -perm -0100 | while read f; do
22+ if [ "$(head -1 "$f" | head -c+2)" != '#!' ]; then
23 # missing shebang => not a script
24 continue
25 fi
2627+ oldInterpreterLine=$(head -1 "$f" | tail -c+3)
28 read -r oldPath arg0 args <<< "$oldInterpreterLine"
2930 if $(echo "$oldPath" | grep -q "/bin/env$"); then
···15 buildInputs = [ pcre libiconv ];
1617 # cygwin: FAIL: multibyte-white-space
18- doCheck = !stdenv.isDarwin && !stdenv.isCygwin;
1920 # On Mac OS X, force use of mkdir -p, since Grep's fallback
21 # (./install-sh) is broken.
···15 buildInputs = [ pcre libiconv ];
1617 # cygwin: FAIL: multibyte-white-space
18+ doCheck = !stdenv.isDarwin && !stdenv.isSunOS && !stdenv.isCygwin;
1920 # On Mac OS X, force use of mkdir -p, since Grep's fallback
21 # (./install-sh) is broken.
+2-1
pkgs/top-level/all-packages.nix
···16 # outside of the store. Thus, GCC, GFortran, & co. must always look for
17 # files in standard system directories (/usr/include, etc.)
18 noSysDirs ? (system != "x86_64-freebsd" && system != "i686-freebsd"
019 && system != "x86_64-kfreebsd-gnu")
2021 # More flags for the bootstrapping of stdenv.
···3905 inherit noSysDirs;
39063907 # PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
3908- profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
39093910 # When building `gcc.crossDrv' (a "Canadian cross", with host == target
3911 # and host != build), `cross' must be null but the cross-libc must still
···16 # outside of the store. Thus, GCC, GFortran, & co. must always look for
17 # files in standard system directories (/usr/include, etc.)
18 noSysDirs ? (system != "x86_64-freebsd" && system != "i686-freebsd"
19+ && system != "x86_64-solaris"
20 && system != "x86_64-kfreebsd-gnu")
2122 # More flags for the bootstrapping of stdenv.
···3906 inherit noSysDirs;
39073908 # PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
3909+ profiledCompiler = with stdenv; (!isSunOS && !isDarwin && (isi686 || isx86_64));
39103911 # When building `gcc.crossDrv' (a "Canadian cross", with host == target
3912 # and host != build), `cross' must be null but the cross-libc must still
+1-1
pkgs/top-level/perl-packages.nix
···6501 meta = {
6502 description = "The World-Wide Web library for Perl";
6503 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
6504- platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
6505 };
6506 };
6507
···6501 meta = {
6502 description = "The World-Wide Web library for Perl";
6503 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
6504+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.illumos;
6505 };
6506 };
6507