- I can see some regressions, especially due to fetchzip rename c3255fe8ec. - Darwin is only half-rebuilt on Hydra ATM. - But there quite a few security fixes within.
···89{ rootPaths }:
1011-if builtins.langVersion >= 5 then
0001213 # Nix >= 1.12: Include NAR hash / size info.
14
···89{ rootPaths }:
1011+#if builtins.langVersion >= 5 then
12+# FIXME: it doesn't work on Hydra, failing to find mkdir;
13+# perhaps .attrs.sh clobbers PATH with new nix?
14+if false then
1516 # Nix >= 1.12: Include NAR hash / size info.
17
-19
pkgs/build-support/fetchgit/gitrepotoname.nix
···1-{ lib }:
2-3-let
4- inherit (lib) removeSuffix hasPrefix removePrefix splitString stringToCharacters concatMapStrings last elem;
5-6- allowedChars = stringToCharacters "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+-._?=";
7- sanitizeStoreName = s:
8- let
9- s' = concatMapStrings (c: if elem c allowedChars then c else "") (stringToCharacters s);
10- s'' = if hasPrefix "." s' then "_${removePrefix "." s'}" else s';
11- in
12- s'';
13-in
14- urlOrRepo: rev:
15- let
16- repo' = last (splitString ":" (baseNameOf (removeSuffix ".git" (removeSuffix "/" urlOrRepo))));
17- rev' = baseNameOf rev;
18- in
19- "${sanitizeStoreName repo'}-${sanitizeStoreName rev'}-src"
···85 # https://reviews.llvm.org/rL281650
86 rm -vr src/test/run-pass/issue-36474.rs || true
8700088 # Disable some failing gdb tests. Try re-enabling these when gdb
89 # is updated past version 7.12.
90 rm src/test/debuginfo/basic-types-globals.rs
···85 # https://reviews.llvm.org/rL281650
86 rm -vr src/test/run-pass/issue-36474.rs || true
8788+ # On Hydra: `TcpListener::bind(&addr)`: Address already in use (os error 98)'
89+ sed '/^ *fn fast_rebind()/i#[ignore]' -i src/libstd/net/tcp.rs
90+91 # Disable some failing gdb tests. Try re-enabling these when gdb
92 # is updated past version 7.12.
93 rm src/test/debuginfo/basic-types-globals.rs
···1-diff --git a/Makefile.PL b/Makefile.PL
2-index 606b28d..0cea060 100644
3---- a/Makefile.PL
4-+++ b/Makefile.PL
5-@@ -128,24 +128,10 @@ SCOPE: {
6- # the system SQLite. We expect that anyone sophisticated enough to use
7 # a system sqlite is also sophisticated enough to have a patching system
8 # that can change the if ( 0 ) to if ( 1 )
9--my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
10-if ( 0 ) {
11-- require File::Spec;
12-- if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
13-- $sqlite_base =~ /=(.*)/;
14-- $sqlite_base = $1;
15-- $sqlite_lib = File::Spec->catdir( $sqlite_base, 'lib' );
16-- $sqlite_inc = File::Spec->catdir( $sqlite_base, 'include' );
17-- }
18-- if ( $sqlite_local = (grep(/USE_LOCAL_SQLITE=.*/, @ARGV))[0] ) {
19-- $sqlite_local =~ /=(.*)/;
20-- $sqlite_local = "$1" ? 1 : 0;
21-- if ( $sqlite_local ) {
22-- # Keep these from making into CFLAGS/LDFLAGS
23-- undef $sqlite_lib;
24-- undef $sqlite_inc;
25-- }
26-- }
27-+my ($sqlite_local, $sqlite_lib, $sqlite_inc);
28+if ( 1 ) {
29-+ $sqlite_lib = '@sqlite_out@/lib';
30-+ $sqlite_inc = '@sqlite_dev@/include';
31-32- # Now check for a compatible sqlite3
33- unless ( $sqlite_local ) {
···1+--- a/Makefile.PL 2016-04-21 15:44:34.000000000 +0200
2++++ b/Makefile.PL 2017-10-31 11:04:28.389959946 +0100
3+@@ -129,7 +129,7 @@
0004 # a system sqlite is also sophisticated enough to have a patching system
5 # that can change the if ( 0 ) to if ( 1 )
6+ my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
7-if ( 0 ) {
000000000000000008+if ( 1 ) {
9+ require File::Spec;
10+ if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
11+ $sqlite_base =~ /=(.*)/;
00
···19 # and /usr/lib. It's a stupid feature anyway. Likewise, when searching for
20 # included Makefiles, don't look in /usr/include and friends.
21 ./impure-dirs.patch
022 ];
2324 nativeBuildInputs = [ pkgconfig ];
···19 # and /usr/lib. It's a stupid feature anyway. Likewise, when searching for
20 # included Makefiles, don't look in /usr/include and friends.
21 ./impure-dirs.patch
22+ ./pselect.patch
23 ];
2425 nativeBuildInputs = [ pkgconfig ];