···1919 sha256 = "1qx9f0kprf92r1wxl3sacykla0g04qsi0idypzz24b7xy9ix5579";
2020 };
21212222+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isSunOS "-lsocket -lnsl";
2323+2224 patches = [ ./glibc214.patch ]
2325 # Patch for the newer unstable boehm-gc 7.2alpha. Not all platforms use that
2426 # alpha. At the time of writing this, boehm-gc-7.1 is the last stable.
···66# I've also tried adding -z direct and -z lazyload, but it gave too many problems with C++ exceptions :'(
77# Also made sure libgcc would not be lazy-loaded, as suggested here: https://www.illumos.org/issues/2534#note-3
88# but still no success.
99-cmd="@prog@ -z ignore"
99+cmd="@ld@ -z ignore"
10101111args=("$@");
1212
···1414 # the temporary build directory).
1515 if test "${p:0:1}" != "/"; then return 1; fi
16161717+ @extraPathTests@
1818+1719 # Otherwise, the path should refer to the store or some temporary
1820 # directory (including the build directory).
1921 test \
+2-2
pkgs/build-support/setup-hooks/patch-shebangs.sh
···1919 local newInterpreterLine
20202121 find "$dir" -type f -perm -0100 | while read f; do
2222- if [ "$(head -1 "$f" | head -c +2)" != '#!' ]; then
2222+ if [ "$(head -1 "$f" | head -c+2)" != '#!' ]; then
2323 # missing shebang => not a script
2424 continue
2525 fi
26262727- oldInterpreterLine=$(head -1 "$f" | tail -c +3)
2727+ oldInterpreterLine=$(head -1 "$f" | tail -c+3)
2828 read -r oldPath arg0 args <<< "$oldInterpreterLine"
29293030 if $(echo "$oldPath" | grep -q "/bin/env$"); then
···1515 buildInputs = [ pcre libiconv ];
16161717 # cygwin: FAIL: multibyte-white-space
1818- doCheck = !stdenv.isDarwin && !stdenv.isCygwin;
1818+ doCheck = !stdenv.isDarwin && !stdenv.isSunOS && !stdenv.isCygwin;
19192020 # On Mac OS X, force use of mkdir -p, since Grep's fallback
2121 # (./install-sh) is broken.
+2-1
pkgs/top-level/all-packages.nix
···1616 # outside of the store. Thus, GCC, GFortran, & co. must always look for
1717 # files in standard system directories (/usr/include, etc.)
1818 noSysDirs ? (system != "x86_64-freebsd" && system != "i686-freebsd"
1919+ && system != "x86_64-solaris"
1920 && system != "x86_64-kfreebsd-gnu")
20212122 # More flags for the bootstrapping of stdenv.
···39053906 inherit noSysDirs;
3906390739073908 # PGO seems to speed up compilation by gcc by ~10%, see #445 discussion
39083908- profiledCompiler = with stdenv; (!isDarwin && (isi686 || isx86_64));
39093909+ profiledCompiler = with stdenv; (!isSunOS && !isDarwin && (isi686 || isx86_64));
3909391039103911 # When building `gcc.crossDrv' (a "Canadian cross", with host == target
39113912 # and host != build), `cross' must be null but the cross-libc must still
+1-1
pkgs/top-level/perl-packages.nix
···65016501 meta = {
65026502 description = "The World-Wide Web library for Perl";
65036503 license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
65046504- platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
65046504+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.illumos;
65056505 };
65066506 };
65076507