lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
e88fb2d1 d3f90efd

+61 -60
+3 -3
nixos/modules/services/web-apps/nextcloud.nix
··· 603 603 priority = 210; 604 604 extraConfig = '' 605 605 location = /.well-known/carddav { 606 - return 301 $scheme://$host/remote.php/dav; 606 + return 301 /remote.php/dav; 607 607 } 608 608 location = /.well-known/caldav { 609 - return 301 $scheme://$host/remote.php/dav; 609 + return 301 /remote.php/dav; 610 610 } 611 611 try_files $uri $uri/ =404; 612 612 ''; ··· 614 614 "~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/)".extraConfig = '' 615 615 return 404; 616 616 ''; 617 - "~ ^/(?:\\.|autotest|occ|issue|indie|db_|console)".extraConfig = '' 617 + "~ ^/(?:\\.(?!well-known)|autotest|occ|issue|indie|db_|console)".extraConfig = '' 618 618 return 404; 619 619 ''; 620 620 "~ ^\\/(?:index|remote|public|cron|core\\/ajax\\/update|status|ocs\\/v[12]|updater\\/.+|oc[ms]-provider\\/.+|.+\\/richdocumentscode\\/proxy)\\.php(?:$|\\/)" = {
+2 -2
pkgs/applications/networking/cluster/argo/default.nix
··· 19 19 in 20 20 buildGoModule rec { 21 21 pname = "argo"; 22 - version = "2.12.7"; 22 + version = "2.12.8"; 23 23 24 24 src = fetchFromGitHub { 25 25 owner = "argoproj"; 26 26 repo = "argo"; 27 27 rev = "v${version}"; 28 - sha256 = "sha256-bMbfFAI4oGZc7FOlU8LczbjAq1cYmJg5WTXkQKS9vgo="; 28 + sha256 = "sha256-JtT4SMoozfTWsQ4YsoQ8xLQ/vCO7hnVEp2umg+p7mRw="; 29 29 }; 30 30 31 31 vendorSha256 = "sha256-4XPMixVNj6PUKobNLwpsOBT7Zs/7pkhDtQacLIB5EfE=";
+6 -1
pkgs/development/compilers/go/1.14.nix
··· 4 4 , buildPackages 5 5 , pkgsBuildTarget 6 6 , fetchpatch 7 + , callPackage 7 8 }: 8 9 9 10 let 10 11 11 12 inherit (lib) optionals optionalString; 12 13 14 + go_bootstrap = callPackage ./bootstrap.nix { 15 + inherit Security; 16 + }; 17 + 13 18 goBootstrap = runCommand "go-bootstrap" {} '' 14 19 mkdir $out 15 - cp -rf ${buildPackages.go_bootstrap}/* $out/ 20 + cp -rf ${go_bootstrap}/* $out/ 16 21 chmod -R u+w $out 17 22 find $out -name "*.c" -delete 18 23 cp -rf $out/bin/* $out/share/go/bin/
+6 -1
pkgs/development/compilers/go/1.15.nix
··· 4 4 , buildPackages 5 5 , pkgsBuildTarget 6 6 , fetchpatch 7 + , callPackage 7 8 }: 8 9 9 10 let 10 11 11 12 inherit (lib) optionals optionalString; 12 13 14 + go_bootstrap = callPackage ./bootstrap.nix { 15 + inherit Security; 16 + }; 17 + 13 18 goBootstrap = runCommand "go-bootstrap" {} '' 14 19 mkdir $out 15 - cp -rf ${buildPackages.go_bootstrap}/* $out/ 20 + cp -rf ${go_bootstrap}/* $out/ 16 21 chmod -R u+w $out 17 22 find $out -name "*.c" -delete 18 23 cp -rf $out/bin/* $out/share/go/bin/
+6 -1
pkgs/development/compilers/go/2-dev.nix
··· 4 4 , buildPackages 5 5 , pkgsBuildTarget 6 6 , fetchpatch 7 + , callPackage 7 8 }: 8 9 9 10 let 10 11 11 12 inherit (lib) optionals optionalString; 12 13 14 + go_bootstrap = callPackage ./bootstrap.nix { 15 + inherit Security; 16 + }; 17 + 13 18 goBootstrap = runCommand "go-bootstrap" {} '' 14 19 mkdir $out 15 - cp -rf ${buildPackages.go_bootstrap}/* $out/ 20 + cp -rf ${go_bootstrap}/* $out/ 16 21 chmod -R u+w $out 17 22 find $out -name "*.c" -delete 18 23 cp -rf $out/bin/* $out/share/go/bin/
+17
pkgs/development/compilers/go/bootstrap.nix
··· 1 + { stdenv, srcOnly, fetchurl, callPackage, Security }: 2 + 3 + let 4 + go_bootstrap = if stdenv.isAarch64 then 5 + srcOnly { 6 + name = "go-1.8-linux-arm64-bootstrap"; 7 + src = fetchurl { 8 + url = "https://cache.xor.us/go-1.8-linux-arm64-bootstrap.tar.xz"; 9 + sha256 = "0sk6g03x9gbxk2k1djnrgy8rzw1zc5f6ssw0hbxk6kjr85lpmld6"; 10 + }; 11 + } 12 + else 13 + callPackage ./1.4.nix { 14 + inherit Security; 15 + }; 16 + in 17 + go_bootstrap
+5 -5
pkgs/development/go-modules/generic/default.nix
··· 34 34 , meta ? {} 35 35 36 36 # Not needed with buildGoModule 37 - , goPackagePath ? null 37 + , goPackagePath ? "" 38 38 39 39 , ... }@args': 40 40 41 41 with builtins; 42 42 43 + assert goPackagePath != "" -> throw "`goPackagePath` is not needed with `buildGoModule`"; 44 + 43 45 let 44 - args = removeAttrs args' [ "overrideModAttrs" "vendorSha256" "disabled" ]; 46 + args = removeAttrs args' [ "overrideModAttrs" "vendorSha256" ]; 45 47 46 48 go-modules = if vendorSha256 != null then stdenv.mkDerivation (let modArgs = { 47 49 ··· 240 242 [ lib.maintainers.kalbasit ]; 241 243 }; 242 244 }); 243 - in if (goPackagePath != null) then 244 - throw "`goPackagePath` not needed with `buildGoModule`" 245 - else 245 + in 246 246 package
+6 -9
pkgs/development/libraries/science/math/cudnn/generic.nix
··· 25 25 installPhase = '' 26 26 function fixRunPath { 27 27 p=$(patchelf --print-rpath $1) 28 - patchelf --set-rpath "$p:${lib.makeLibraryPath [ stdenv.cc.cc ]}" $1 28 + patchelf --set-rpath "''${p:+$p:}${lib.makeLibraryPath [ stdenv.cc.cc ]}:\$ORIGIN/" $1 29 29 } 30 - fixRunPath lib64/libcudnn.so 30 + 31 + for lib in lib64/lib*.so; do 32 + fixRunPath $lib 33 + done 31 34 32 35 mkdir -p $out 33 36 cp -a include $out/include ··· 38 41 # See the explanation in addOpenGLRunpath. 39 42 postFixup = '' 40 43 for lib in $out/lib/lib*.so; do 41 - # patchelf fails on libcudnn_cnn_infer due to it being too big. 42 - # Most programs will still get the RPATH since they link to 43 - # other things. 44 - # (https://github.com/NixOS/patchelf/issues/222) 45 - if [ "$(basename $lib)" != libcudnn_cnn_infer.so ]; then 46 - addOpenGLRunpath $lib 47 - fi 44 + addOpenGLRunpath $lib 48 45 done 49 46 ''; 50 47
+4 -6
pkgs/development/tools/yaml2json/default.nix
··· 1 1 { lib, buildGoPackage, fetchFromGitHub }: 2 2 3 3 4 - buildGoPackage { 4 + buildGoPackage rec { 5 5 pname = "yaml2json"; 6 - version = "unstable-2017-05-03"; 6 + version = "1.3"; 7 7 goPackagePath = "github.com/bronze1man/yaml2json"; 8 8 9 - goDeps = ./deps.nix; 10 - 11 9 src = fetchFromGitHub { 12 - rev = "ee8196e587313e98831c040c26262693d48c1a0c"; 13 10 owner = "bronze1man"; 14 11 repo = "yaml2json"; 15 - sha256 = "16a2sqzbam5adbhfvilnpdabzwncs7kgpr0cn4gp09h2imzsprzw"; 12 + rev = "v${version}"; 13 + sha256 = "0bhjzl4qibiyvn56wcsm85f3vwnlzf4gywy2gq9mrnbrl629amq1"; 16 14 }; 17 15 18 16 meta = with lib; {
-11
pkgs/development/tools/yaml2json/deps.nix
··· 1 - [ 2 - { 3 - goPackagePath = "gopkg.in/yaml.v2"; 4 - fetch = { 5 - type = "git"; 6 - url = "https://gopkg.in/yaml.v2"; 7 - rev = "d670f9405373e636a5a2765eea47fac0c9bc91a4"; 8 - sha256 = "1w1xid51n8v1mydn2m3vgggw8qgpd5a5sr62snsc77d99fpjsrs0"; 9 - }; 10 - } 11 - ]
+3 -3
pkgs/servers/rtsp-simple-server/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "rtsp-simple-server"; 8 - version = "0.14.0"; 8 + version = "0.14.1"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aler9"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-9PjITPuCndz/EuFEt9docmWN93TwZQbnyHV161hUwS0="; 14 + sha256 = "sha256-+odGLuUU6KWcSukt/WpZnO1KMRTGY2fzPsXTL1xhlrk="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-6tp1hN1dRKm523IegMpsTO+/gktywqdNZflUbE4TPuU="; 17 + vendorSha256 = "sha256-P8NYnTItayuWLQpwl5D6I8K5MVm2Qh1hWl2c78n8CJo="; 18 18 19 19 # Tests need docker 20 20 doCheck = false;
+1 -15
pkgs/top-level/all-packages.nix
··· 10143 10143 10144 10144 glslang = callPackage ../development/compilers/glslang { }; 10145 10145 10146 - go_bootstrap = if stdenv.isAarch64 then 10147 - srcOnly { 10148 - name = "go-1.8-linux-arm64-bootstrap"; 10149 - src = fetchurl { 10150 - url = "https://cache.xor.us/go-1.8-linux-arm64-bootstrap.tar.xz"; 10151 - sha256 = "0sk6g03x9gbxk2k1djnrgy8rzw1zc5f6ssw0hbxk6kjr85lpmld6"; 10152 - }; 10153 - } 10154 - else 10155 - callPackage ../development/compilers/go/1.4.nix { 10156 - inherit (darwin.apple_sdk.frameworks) Security; 10157 - }; 10158 - 10159 10146 go_1_14 = callPackage ../development/compilers/go/1.14.nix ({ 10160 10147 inherit (darwin.apple_sdk.frameworks) Security Foundation; 10161 10148 } // lib.optionalAttrs stdenv.isAarch64 { ··· 12039 12026 cpplint = callPackage ../development/tools/analysis/cpplint { }; 12040 12027 12041 12028 ccls = callPackage ../development/tools/misc/ccls { 12042 - llvmPackages = llvmPackages_8; 12043 - stdenv = llvmPackages_8.stdenv; 12029 + llvmPackages = llvmPackages_latest; 12044 12030 }; 12045 12031 12046 12032 credstash = with python3Packages; toPythonApplication credstash;
+2 -3
pkgs/top-level/perl-packages.nix
··· 21921 21921 url = "mirror://cpan/authors/id/K/KU/KUBOTA/Text-WrapI18N-0.06.tar.gz"; 21922 21922 sha256 = "4bd29a17f0c2c792d12c1005b3c276f2ab0fae39c00859ae1741d7941846a488"; 21923 21923 }; 21924 - propagatedBuildInputs = [ pkgs.glibc TextCharWidth ]; 21924 + buildInputs = [ pkgs.glibcLocales ]; 21925 + propagatedBuildInputs = [ TextCharWidth ]; 21925 21926 preConfigure = '' 21926 21927 substituteInPlace WrapI18N.pm --replace '/usr/bin/locale' '${pkgs.glibc.bin}/bin/locale' 21927 21928 ''; 21928 21929 meta = { 21929 21930 description = "Line wrapping module with support for multibyte, fullwidth, and combining characters and languages without whitespaces between words"; 21930 21931 license = with lib.licenses; [ artistic1 gpl2 ]; 21931 - # bogus use of glibc, pretty sure, think this is what we have glibcLocales for? 21932 - broken = stdenv.hostPlatform.libc != "glibc"; 21933 21932 }; 21934 21933 }; 21935 21934