Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge branch 'master' into staging-next

Hydra nixpkgs: ?compare=1505754

+57 -88
+7 -3
nixos/modules/programs/ssh.nix
··· 88 88 type = types.lines; 89 89 default = ""; 90 90 description = '' 91 - Extra configuration text appended to <filename>ssh_config</filename>. 91 + Extra configuration text prepended to <filename>ssh_config</filename>. Other generated 92 + options will be added after a <code>Host *</code> pattern. 92 93 See <citerefentry><refentrytitle>ssh_config</refentrytitle><manvolnum>5</manvolnum></citerefentry> 93 94 for help. 94 95 ''; ··· 203 204 # generation in the sshd service. 204 205 environment.etc."ssh/ssh_config".text = 205 206 '' 207 + # Custom options from `extraConfig`, to override generated options 208 + ${cfg.extraConfig} 209 + 210 + # Generated options from other settings 211 + Host * 206 212 AddressFamily ${if config.networking.enableIPv6 then "any" else "inet"} 207 213 208 214 ${optionalString cfg.setXAuthLocation '' ··· 213 219 214 220 ${optionalString (cfg.pubkeyAcceptedKeyTypes != []) "PubkeyAcceptedKeyTypes ${concatStringsSep "," cfg.pubkeyAcceptedKeyTypes}"} 215 221 ${optionalString (cfg.hostKeyAlgorithms != []) "HostKeyAlgorithms ${concatStringsSep "," cfg.hostKeyAlgorithms}"} 216 - 217 - ${cfg.extraConfig} 218 222 ''; 219 223 220 224 environment.etc."ssh/ssh_known_hosts".text = knownHostsText;
+1 -1
pkgs/applications/editors/kakoune/default.nix
··· 3 3 with stdenv.lib; 4 4 5 5 stdenv.mkDerivation rec { 6 - name = "kakoune-unstable-${version}"; 6 + name = "kakoune-${version}"; 7 7 version = "2019.01.20"; 8 8 src = fetchFromGitHub { 9 9 repo = "kakoune";
+2 -2
pkgs/applications/misc/dump1090/default.nix pkgs/applications/radio/dump1090/default.nix
··· 1 1 { stdenv, fetchFromGitHub, pkgconfig, libusb, rtl-sdr }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "dump1090-${version}"; 4 + pname = "dump1090"; 5 5 version = "2014-10-31"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "MalcolmRobb"; 9 - repo = "dump1090"; 9 + repo = pname; 10 10 rev = "bff92c4ad772a0a8d433f788d39dae97e00e4dbe"; 11 11 sha256 = "06aaj9gpz5v4qzvnp8xf18wdfclp0jvn3hflls79ly46gz2dh9hy"; 12 12 };
+2 -2
pkgs/applications/misc/slic3r/prusa3d.nix
··· 33 33 in 34 34 stdenv.mkDerivation rec { 35 35 name = "slic3r-prusa-edition-${version}"; 36 - version = "1.41.2"; 36 + version = "1.41.3"; 37 37 38 38 enableParallelBuilding = true; 39 39 ··· 123 123 src = fetchFromGitHub { 124 124 owner = "prusa3d"; 125 125 repo = "Slic3r"; 126 - sha256 = "046ircwc0wr586v7106ys557ypslmyq9p4qgi34ads1d6bgxhlyy"; 126 + sha256 = "145dfsv610c5p0sngab9z7lzbk5383pq9l26mrrpf1wxdlxgljpl"; 127 127 rev = "version_${version}"; 128 128 }; 129 129
+9 -9
pkgs/applications/networking/browsers/chromium/upstream-info.nix
··· 1 1 # This file is autogenerated from update.sh in the same directory. 2 2 { 3 3 beta = { 4 - sha256 = "1kbcn8yzgrn41d12806bsycnw6xyjbgv4d8nk0y4x2hymg34vc2k"; 5 - sha256bin64 = "0irafrmz9c3s8bdkqkwhj96v090ynvvbs50qzcdmidw8iqh2x1f8"; 6 - version = "73.0.3683.27"; 4 + sha256 = "0gd426a9xcgs8a9286gavziysq6fw1ilaifsna396dbdm8b571wi"; 5 + sha256bin64 = "05p20l0969rppbyn7965k78ccynng47rg7d7h7piqiwnm6ffg9yx"; 6 + version = "73.0.3683.39"; 7 7 }; 8 8 dev = { 9 - sha256 = "0gyzil473kn7mqpa1dp3pai0x7vk8rw2bkqr3z0p33fx2g7b7y5s"; 10 - sha256bin64 = "1clr6xr08mmzmi71jy5ri4b2cp4qaf5apynbd9gnrp6qiy04rmn2"; 11 - version = "73.0.3683.20"; 9 + sha256 = "1yyzhw5zv803ysdj7zf0imdw9cf0mdlw30vphcb59a93nnvhkbb7"; 10 + sha256bin64 = "1a1dswkfc4x2rslkb899fgywv5mfrmcp1d8wxy7h034504r8gy87"; 11 + version = "74.0.3702.0"; 12 12 }; 13 13 stable = { 14 - sha256 = "0fxavi4nwfiyb15lqm02vlq6kb8i4ipxnd7hp45bm7jdmhmgbnmj"; 15 - sha256bin64 = "1gz1ga8d3a4q1n6bdb79wv8ldlksvj0mlnrs5k1safwzlv11prsx"; 16 - version = "72.0.3626.96"; 14 + sha256 = "0bcc0iksk2v30drwd5zbw7v6sfbw16jqllc12ks2nifrvh058jjp"; 15 + sha256bin64 = "0azyhnmdg3grladpkpsv67zxqiqf5a3x9qjfj8h831kh7i7m3gy8"; 16 + version = "72.0.3626.109"; 17 17 }; 18 18 }
+2 -2
pkgs/applications/networking/instant-messengers/wavebox/default.nix
··· 8 8 let 9 9 bits = "x86_64"; 10 10 11 - version = "4.5.10"; 11 + version = "4.7.1"; 12 12 13 13 desktopItem = makeDesktopItem rec { 14 14 name = "Wavebox"; ··· 25 25 name = "wavebox-${version}"; 26 26 src = fetchurl { 27 27 url = "https://github.com/wavebox/waveboxapp/releases/download/v${version}/${tarball}"; 28 - sha256 = "0863x3gyzzbm6qs26j821b4iy596cc2h7ppdj6hq5rgr7c01ac9k"; 28 + sha256 = "0kyi84wdvd5363vx7bhss3cmc8kfdkrs6h8q51hscrja3qabp0bg"; 29 29 }; 30 30 31 31 # don't remove runtime deps
+2 -2
pkgs/applications/window-managers/sway/beta.nix
··· 10 10 stdenv.mkDerivation rec { 11 11 name = "${pname}-${version}"; 12 12 pname = "sway"; 13 - version = "1.0-rc2"; 13 + version = "1.0-rc3"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "swaywm"; 17 17 repo = "sway"; 18 18 rev = version; 19 - sha256 = "052if3nagmwg5zh79nhrq75fbc9v2x950lcs1mal52p801qiv8f1"; 19 + sha256 = "1ixwc1bg725x68qr84s8a5i4rlzc4svc52jgdw1yl5bgr6l1k5zc"; 20 20 }; 21 21 22 22 postPatch = ''
+1 -1
pkgs/build-support/docker/default.nix
··· 783 783 imageJson=$(cat ${baseJson} | jq ". + {\"rootfs\": {\"diff_ids\": [], \"type\": \"layers\"}}") 784 784 manifestJson=$(jq -n "[{\"RepoTags\":[\"$imageName:$imageTag\"]}]") 785 785 786 - for layerTar in $(cat ./layer-list); do 786 + for layerTar in $(tac ./layer-list); do 787 787 layerChecksum=$(sha256sum image/$layerTar | cut -d ' ' -f1) 788 788 imageJson=$(echo "$imageJson" | jq ".history |= [{\"created\": \"$(jq -r .created ${baseJson})\"}] + .") 789 789 imageJson=$(echo "$imageJson" | jq ".rootfs.diff_ids |= [\"sha256:$layerChecksum\"] + .")
+12
pkgs/development/compilers/ocaml/4.08.nix
··· 1 + import ./generic.nix { 2 + major_version = "4"; 3 + minor_version = "08"; 4 + patch_version = "0+beta1"; 5 + sha256 = "1jgvp4pyhrg27wqpsx88kacw3ymjiz44nms9lzbh5s8pp05z5f5f"; 6 + 7 + # If the executable is stripped it does not work 8 + dontStrip = true; 9 + 10 + # Breaks build with Clang 11 + hardeningDisable = [ "strictoverflow" ]; 12 + }
+4 -2
pkgs/development/compilers/ocaml/generic.nix
··· 41 41 }; 42 42 43 43 prefixKey = "-prefix "; 44 - configureFlags = optionals useX11 [ "-x11lib" x11lib 45 - "-x11include" x11inc ] 44 + configureFlags = optionals useX11 ( 45 + if stdenv.lib.versionAtLeast version "4.08" 46 + then [ "--x-libraries=${x11lib}" "--x-includes=${x11inc}"] 47 + else [ "-x11lib" x11lib "-x11include" x11inc ]) 46 48 ++ optional flambdaSupport "-flambda" 47 49 ; 48 50
+1 -1
pkgs/development/haskell-modules/configuration-common.nix
··· 1225 1225 1226 1226 # Use latest pandoc despite what LTS says. 1227 1227 # Test suite fails in both 2.5 and 2.6: https://github.com/jgm/pandoc/issues/5309. 1228 - pandoc = dontCheck super.pandoc_2_6; 1228 + pandoc = doDistribute (dontCheck super.pandoc_2_6); 1229 1229 pandoc-citeproc = self.pandoc-citeproc_0_16_1; 1230 1230 1231 1231 # https://github.com/qfpl/tasty-hedgehog/issues/24
-44
pkgs/os-specific/linux/kernel/interpreter-trunc.patch
··· 1 - From cb5b020a8d38f77209d0472a0fea755299a8ec78 Mon Sep 17 00:00:00 2001 2 - From: Linus Torvalds <torvalds@linux-foundation.org> 3 - Date: Thu, 14 Feb 2019 15:02:18 -0800 4 - Subject: Revert "exec: load_script: don't blindly truncate shebang string" 5 - 6 - This reverts commit 8099b047ecc431518b9bb6bdbba3549bbecdc343. 7 - 8 - It turns out that people do actually depend on the shebang string being 9 - truncated, and on the fact that an interpreter (like perl) will often 10 - just re-interpret it entirely to get the full argument list. 11 - 12 - Reported-by: Samuel Dionne-Riel <samuel@dionne-riel.com> 13 - Acked-by: Kees Cook <keescook@chromium.org> 14 - Cc: Oleg Nesterov <oleg@redhat.com> 15 - Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> 16 - --- 17 - fs/binfmt_script.c | 10 +++------- 18 - 1 file changed, 3 insertions(+), 7 deletions(-) 19 - 20 - diff --git a/fs/binfmt_script.c b/fs/binfmt_script.c 21 - index d0078cbb718b..7cde3f46ad26 100644 22 - --- a/fs/binfmt_script.c 23 - +++ b/fs/binfmt_script.c 24 - @@ -42,14 +42,10 @@ static int load_script(struct linux_binprm *bprm) 25 - fput(bprm->file); 26 - bprm->file = NULL; 27 - 28 - - for (cp = bprm->buf+2;; cp++) { 29 - - if (cp >= bprm->buf + BINPRM_BUF_SIZE) 30 - - return -ENOEXEC; 31 - - if (!*cp || (*cp == '\n')) 32 - - break; 33 - - } 34 - + bprm->buf[BINPRM_BUF_SIZE - 1] = '\0'; 35 - + if ((cp = strchr(bprm->buf, '\n')) == NULL) 36 - + cp = bprm->buf+BINPRM_BUF_SIZE-1; 37 - *cp = '\0'; 38 - - 39 - while (cp > bprm->buf) { 40 - cp--; 41 - if ((*cp == ' ') || (*cp == '\t')) 42 - -- 43 - cgit 1.2-0.3.lf.el7 44 -
+3 -3
pkgs/os-specific/linux/kernel/linux-hardkernel-4.14.nix
··· 1 1 { stdenv, buildPackages, fetchFromGitHub, perl, buildLinux, libelf, utillinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.14.87-153"; 4 + version = "4.14.94-155"; 5 5 6 6 # modDirVersion needs to be x.y.z. 7 - modDirVersion = "4.14.87"; 7 + modDirVersion = "4.14.94"; 8 8 9 9 # branchVersion needs to be x.y. 10 10 extraMeta.branch = "4.14"; ··· 13 13 owner = "hardkernel"; 14 14 repo = "linux"; 15 15 rev = version; 16 - sha256 = "1aj3l8pf3nl0mm4m5z4z4iqd72b0nqip4cajmhpfjmq8vkygcw5c"; 16 + sha256 = "1jg4m17y5wkmfmw8y9y9nh14xzw6011gbzlckqabmbazcdpbmf9d"; 17 17 }; 18 18 19 19 defconfig = "odroidxu4_defconfig";
+3 -3
pkgs/os-specific/linux/kernel/linux-testing.nix
··· 1 1 { stdenv, buildPackages, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "5.0-rc6"; 5 - modDirVersion = "5.0.0-rc6"; 4 + version = "5.0-rc7"; 5 + modDirVersion = "5.0.0-rc7"; 6 6 extraMeta.branch = "5.0"; 7 7 8 8 src = fetchurl { 9 9 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; 10 - sha256 = "1315hkjwgm97kh98y8ynsf6fy1b6yf4b74ws6d4s7dls70qzl3yw"; 10 + sha256 = "0x5jvv4n9l1gisc0q9m9r7173d9qwpl6crd59fbmasbmvi9lnp41"; 11 11 }; 12 12 13 13 # Should the testing kernels ever be built on Hydra?
-7
pkgs/os-specific/linux/kernel/patches.nix
··· 57 57 sha256 = "1l8xq02rd7vakxg52xm9g4zng0ald866rpgm8kjlh88mwwyjkrwv"; 58 58 }; 59 59 }; 60 - 61 - # https://github.com/NixOS/nixpkgs/issues/53672 62 - # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=cb5b020a8d38f77209d0472a0fea755299a8ec78 63 - interpreter-trunc = { 64 - name = "interpreter-trunc"; 65 - patch = ./interpreter-trunc.patch; 66 - }; 67 60 }
+3 -2
pkgs/servers/sql/postgresql/default.nix
··· 76 76 postInstall = 77 77 '' 78 78 moveToOutput "lib/pgxs" "$out" # looks strange, but not deleting it 79 - moveToOutput "lib/*.a" "$out" 79 + moveToOutput "lib/libpgcommon.a" "$out" 80 + moveToOutput "lib/libpgport.a" "$out" 80 81 moveToOutput "lib/libecpg*" "$out" 81 82 82 83 # Prevent a retained dependency on gcc-wrapper. ··· 84 85 85 86 if [ -z "''${dontDisableStatic:-}" ]; then 86 87 # Remove static libraries in case dynamic are available. 87 - for i in $out/lib/*.a; do 88 + for i in $out/lib/*.a $lib/lib/*.a; do 88 89 name="$(basename "$i")" 89 90 ext="${stdenv.hostPlatform.extensions.sharedLibrary}" 90 91 if [ -e "$lib/lib/''${name%.a}$ext" ] || [ -e "''${i%.a}$ext" ]; then
+2 -2
pkgs/tools/misc/watchexec/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 name = "watchexec-${version}"; 5 - version = "1.10.0"; 5 + version = "1.10.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "watchexec"; 9 9 repo = "watchexec"; 10 10 rev = version; 11 - sha256 = "15fnf3r4pvl9gyvq0fy0l7p8xjaz44z9g4dzkn1l0fdhldib6z1c"; 11 + sha256 = "0azfnqx5v1shsd7jdxzn41awh9dbjykv8h1isrambc86ygr1c1cy"; 12 12 }; 13 13 14 14 cargoSha256 = "1xlcfr2q2pw47sav9iryjva7w9chv90g18hszq8s0q0w71sccv6j";
+1 -2
pkgs/top-level/all-packages.nix
··· 173 173 174 174 dispad = callPackage ../tools/X11/dispad { }; 175 175 176 - dump1090 = callPackage ../applications/misc/dump1090 { }; 176 + dump1090 = callPackage ../applications/radio/dump1090 { }; 177 177 178 178 ebook2cw = callPackage ../applications/radio/ebook2cw { }; 179 179 ··· 14625 14625 kernelPatches = [ 14626 14626 kernelPatches.bridge_stp_helper 14627 14627 kernelPatches.modinst_arg_list_too_long 14628 - kernelPatches.interpreter-trunc 14629 14628 ]; 14630 14629 }; 14631 14630
+2
pkgs/top-level/ocaml-packages.nix
··· 1072 1072 1073 1073 ocamlPackages_4_07 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.07.nix { }); 1074 1074 1075 + ocamlPackages_4_08 = mkOcamlPackages (callPackage ../development/compilers/ocaml/4.08.nix { }); 1076 + 1075 1077 ocamlPackages_latest = ocamlPackages_4_07; 1076 1078 1077 1079 ocamlPackages = ocamlPackages_4_06;