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

Merge pull request #124341 from NixOS/staging-next-21.05

[21.05] Staging next

authored by

Jonathan Ringer and committed by
GitHub
75f90eed 0c2e856e

+144 -77
+2 -2
pkgs/applications/graphics/ImageMagick/7.0.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "imagemagick"; 21 - version = "7.0.11-9"; 21 + version = "7.0.11-13"; 22 22 23 23 src = fetchFromGitHub { 24 24 owner = "ImageMagick"; 25 25 repo = "ImageMagick"; 26 26 rev = version; 27 - sha256 = "sha256-eL9zFrgkLb3pS8/UlQB5+p50UG8j3Q7TNDwcO/3BuXo="; 27 + sha256 = "sha256-6dYc636m1OeRqIPv5NFz/K8OUvl6sgEQKjfvTngR2Ms="; 28 28 }; 29 29 30 30 outputs = [ "out" "dev" "doc" ]; # bin/ isn't really big
+5 -5
pkgs/applications/version-management/git-and-tools/git/default.nix
··· 2 2 , curl, openssl, zlib, expat, perlPackages, python3, gettext, cpio 3 3 , gnugrep, gnused, gawk, coreutils # needed at runtime by git-filter-branch etc 4 4 , openssh, pcre2 5 - , asciidoctor, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xsl_ns, docbook_xml_dtd_45 5 + , asciidoc, texinfo, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_45 6 6 , libxslt, tcl, tk, makeWrapper, libiconv 7 7 , svnSupport, subversionClient, perlLibs, smtpPerlLibs 8 8 , perlSupport ? stdenv.buildPlatform == stdenv.hostPlatform ··· 68 68 ''; 69 69 70 70 nativeBuildInputs = [ gettext perlPackages.perl makeWrapper ] 71 - ++ lib.optionals withManual [ asciidoctor texinfo xmlto docbook2x 72 - docbook_xsl docbook_xsl_ns docbook_xml_dtd_45 libxslt ]; 71 + ++ lib.optionals withManual [ asciidoc texinfo xmlto docbook2x 72 + docbook_xsl docbook_xml_dtd_45 libxslt ]; 73 73 buildInputs = [curl openssl zlib expat cpio libiconv] 74 74 ++ lib.optionals perlSupport [ perlPackages.perl ] 75 75 ++ lib.optionals guiSupport [tcl tk] ··· 148 148 } 149 149 150 150 # Install git-subtree. 151 - make -C contrib/subtree install ${lib.optionalString withManual "USE_ASCIIDOCTOR=1 install-doc"} 151 + make -C contrib/subtree install ${lib.optionalString withManual "install-doc"} 152 152 rm -rf contrib/subtree 153 153 154 154 # Install contrib stuff. ··· 233 233 '') 234 234 235 235 + lib.optionalString withManual ''# Install man pages 236 - make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES USE_ASCIIDOCTOR=1 PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html \ 236 + make -j $NIX_BUILD_CORES -l $NIX_BUILD_CORES PERL_PATH="${buildPackages.perl}/bin/perl" cmd-list.made install install-html \ 237 237 -C Documentation '' 238 238 239 239 + (if guiSupport then ''
+1 -1
pkgs/build-support/pkg-config-wrapper/add-flags.sh
··· 6 6 accumulateRoles 7 7 8 8 for var in "${var_templates_list[@]}"; do 9 - mangleVarList "$var" ${role_suffixes[@]+"${role_suffixes[@]}"} 9 + mangleVarListGeneric ":" "$var" ${role_suffixes[@]+"${role_suffixes[@]}"} 10 10 done 11 11 12 12 export NIX_PKG_CONFIG_WRAPPER_FLAGS_SET_@suffixSalt@=1
+8 -2
pkgs/build-support/wrapper-common/utils.bash
··· 13 13 fi 14 14 } 15 15 16 - mangleVarList() { 16 + mangleVarListGeneric() { 17 + local sep="$1" 18 + shift 17 19 local var="$1" 18 20 shift 19 21 local -a role_suffixes=("$@") ··· 25 27 for suffix in "${role_suffixes[@]}"; do 26 28 local inputVar="${var}${suffix}" 27 29 if [ -v "$inputVar" ]; then 28 - export ${outputVar}+="${!outputVar:+ }${!inputVar}" 30 + export ${outputVar}+="${!outputVar:+$sep}${!inputVar}" 29 31 fi 30 32 done 33 + } 34 + 35 + mangleVarList() { 36 + mangleVarListGeneric " " "$@" 31 37 } 32 38 33 39 mangleVarBool() {
+5 -6
pkgs/development/compilers/llvm/10/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 46 46 # https://reviews.llvm.org/D51899 47 47 ./compiler-rt-baremetal.patch 48 48 ./gnu-install-dirs.patch 49 + (substituteAll { 50 + src = ../../clang-6-10-LLVMgold-path.patch; 51 + libllvmLibdir = "${libllvm.lib}/lib"; 52 + }) 49 53 ]; 50 54 51 55 postPatch = '' ··· 64 68 65 69 outputs = [ "out" "lib" "dev" "python" ]; 66 70 67 - # Clang expects to find LLVMgold in its own prefix 68 71 postInstall = '' 69 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 70 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 71 - fi 72 - 73 72 ln -sv $out/bin/clang $out/bin/cpp 74 73 75 74 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/11/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, fetchpatch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, fetchpatch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 57 57 excludes = [ "docs/*" "test/*" ]; 58 58 sha256 = "0gxgmi0qbm89mq911dahallhi8m6wa9vpklklqmxafx4rplrr8ph"; 59 59 }) 60 + (substituteAll { 61 + src = ../../clang-11-12-LLVMgold-path.patch; 62 + libllvmLibdir = "${libllvm.lib}/lib"; 63 + }) 60 64 ]; 61 65 62 66 postPatch = '' ··· 75 79 76 80 outputs = [ "out" "lib" "dev" "python" ]; 77 81 78 - # Clang expects to find LLVMgold in its own prefix 79 82 postInstall = '' 80 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 81 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 82 - fi 83 - 84 83 ln -sv $out/bin/clang $out/bin/cpp 85 84 86 85 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/12/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 44 44 ./purity.patch 45 45 # https://reviews.llvm.org/D51899 46 46 ./gnu-install-dirs.patch 47 + (substituteAll { 48 + src = ../../clang-11-12-LLVMgold-path.patch; 49 + libllvmLibdir = "${libllvm.lib}/lib"; 50 + }) 47 51 ]; 48 52 49 53 postPatch = '' ··· 59 63 60 64 outputs = [ "out" "lib" "dev" "python" ]; 61 65 62 - # Clang expects to find LLVMgold in its own prefix 63 66 postInstall = '' 64 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 65 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 66 - fi 67 - 68 67 ln -sv $out/bin/clang $out/bin/cpp 69 68 70 69 # Move libclang to 'lib' output
+14
pkgs/development/compilers/llvm/5/clang/LLVMgold-path.patch
··· 1 + diff --git a/lib/Driver/ToolChains/CommonArgs.cpp b/lib/Driver/ToolChains/CommonArgs.cpp 2 + index 00bd60bc24bb..17416b0bd3c0 100644 3 + --- a/lib/Driver/ToolChains/CommonArgs.cpp 4 + +++ b/lib/Driver/ToolChains/CommonArgs.cpp 5 + @@ -376,8 +376,7 @@ void tools::AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, 6 + // as gold requires -plugin to come before any -plugin-opt that -Wl might 7 + // forward. 8 + CmdArgs.push_back("-plugin"); 9 + - std::string Plugin = 10 + - ToolChain.getDriver().Dir + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold.so"; 11 + + std::string Plugin = "@libllvmLibdir@" "/LLVMgold.so"; 12 + CmdArgs.push_back(Args.MakeArgString(Plugin)); 13 + 14 + // Try to pass driver level flags relevant to LTO code generation down to
+5 -6
pkgs/development/compilers/llvm/5/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 43 43 patches = [ 44 44 ./purity.patch 45 45 ./gnu-install-dirs.patch 46 + (substituteAll { 47 + src = ./LLVMgold-path.patch; 48 + libllvmLibdir = "${libllvm.lib}/lib"; 49 + }) 46 50 ]; 47 51 48 52 postPatch = '' ··· 58 62 59 63 outputs = [ "out" "lib" "dev" "python" ]; 60 64 61 - # Clang expects to find LLVMgold in its own prefix 62 65 postInstall = '' 63 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 64 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 65 - fi 66 - 67 66 ln -sv $out/bin/clang $out/bin/cpp 68 67 69 68 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/6/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 43 43 patches = [ 44 44 ./purity.patch 45 45 ./gnu-install-dirs.patch 46 + (substituteAll { 47 + src = ../../clang-6-10-LLVMgold-path.patch; 48 + libllvmLibdir = "${libllvm.lib}/lib"; 49 + }) 46 50 ]; 47 51 48 52 postPatch = '' ··· 58 62 59 63 outputs = [ "out" "lib" "dev" "python" ]; 60 64 61 - # Clang expects to find LLVMgold in its own prefix 62 65 postInstall = '' 63 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 64 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 65 - fi 66 - 67 66 ln -sv $out/bin/clang $out/bin/cpp 68 67 69 68 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/7/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 52 52 # needed for our bootstrapping to not interfere with C. 53 53 ./unwindlib.patch 54 54 ./gnu-install-dirs.patch 55 + (substituteAll { 56 + src = ../../clang-6-10-LLVMgold-path.patch; 57 + libllvmLibdir = "${libllvm.lib}/lib"; 58 + }) 55 59 ]; 56 60 57 61 postPatch = '' ··· 70 74 71 75 outputs = [ "out" "lib" "dev" "python" ]; 72 76 73 - # Clang expects to find LLVMgold in its own prefix 74 77 postInstall = '' 75 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 76 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 77 - fi 78 - 79 78 ln -sv $out/bin/clang $out/bin/cpp 80 79 81 80 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/8/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 59 59 # make clang -xhip use $PATH to find executables 60 60 ./HIP-use-PATH-8.patch 61 61 ./gnu-install-dirs.patch 62 + (substituteAll { 63 + src = ../../clang-6-10-LLVMgold-path.patch; 64 + libllvmLibdir = "${libllvm.lib}/lib"; 65 + }) 62 66 ]; 63 67 64 68 postPatch = '' ··· 77 81 78 82 outputs = [ "out" "lib" "dev" "python" ]; 79 83 80 - # Clang expects to find LLVMgold in its own prefix 81 84 postInstall = '' 82 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 83 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 84 - fi 85 - 86 85 ln -sv $out/bin/clang $out/bin/cpp 87 86 88 87 # Move libclang to 'lib' output
+5 -6
pkgs/development/compilers/llvm/9/clang/default.nix
··· 1 - { lib, stdenv, llvm_meta, fetch, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 1 + { lib, stdenv, llvm_meta, fetch, substituteAll, cmake, libxml2, libllvm, version, clang-tools-extra_src, python3 2 2 , buildLlvmTools 3 3 , fixDarwinDylibNames 4 4 , enableManpages ? false ··· 52 52 # make clang -xhip use $PATH to find executables 53 53 ./HIP-use-PATH-9.patch 54 54 ./gnu-install-dirs.patch 55 + (substituteAll { 56 + src = ../../clang-6-10-LLVMgold-path.patch; 57 + libllvmLibdir = "${libllvm.lib}/lib"; 58 + }) 55 59 ]; 56 60 57 61 postPatch = '' ··· 70 74 71 75 outputs = [ "out" "lib" "dev" "python" ]; 72 76 73 - # Clang expects to find LLVMgold in its own prefix 74 77 postInstall = '' 75 - if [ -e ${libllvm.lib}/lib/LLVMgold.so ]; then 76 - ln -sv ${libllvm.lib}/lib/LLVMgold.so $lib/lib 77 - fi 78 - 79 78 ln -sv $out/bin/clang $out/bin/cpp 80 79 81 80 # Move libclang to 'lib' output
+13
pkgs/development/compilers/llvm/clang-11-12-LLVMgold-path.patch
··· 1 + diff --git a/lib/Driver/ToolChains/CommonArgs.cpp b/lib/Driver/ToolChains/CommonArgs.cpp 2 + index 6b6e276b8ce7..7896542a1202 100644 3 + --- a/lib/Driver/ToolChains/CommonArgs.cpp 4 + +++ b/lib/Driver/ToolChains/CommonArgs.cpp 5 + @@ -409,7 +409,7 @@ void tools::addLTOOptions(const ToolChain &ToolChain, const ArgList &Args, 6 + 7 + SmallString<1024> Plugin; 8 + llvm::sys::path::native( 9 + - Twine(D.Dir) + "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold" + Suffix, 10 + + Twine("@libllvmLibdir@" "/LLVMgold") + Suffix, 11 + Plugin); 12 + CmdArgs.push_back(Args.MakeArgString(Plugin)); 13 + }
+15
pkgs/development/compilers/llvm/clang-6-10-LLVMgold-path.patch
··· 1 + diff --git a/lib/Driver/ToolChains/CommonArgs.cpp b/lib/Driver/ToolChains/CommonArgs.cpp 2 + index 37ec73468570..b73e75aa6e59 100644 3 + --- a/lib/Driver/ToolChains/CommonArgs.cpp 4 + +++ b/lib/Driver/ToolChains/CommonArgs.cpp 5 + @@ -370,8 +370,8 @@ void tools::AddGoldPlugin(const ToolChain &ToolChain, const ArgList &Args, 6 + #endif 7 + 8 + SmallString<1024> Plugin; 9 + - llvm::sys::path::native(Twine(ToolChain.getDriver().Dir) + 10 + - "/../lib" CLANG_LIBDIR_SUFFIX "/LLVMgold" + 11 + + llvm::sys::path::native(Twine("@libllvmLibdir@" 12 + + "/LLVMgold") + 13 + Suffix, 14 + Plugin); 15 + CmdArgs.push_back(Args.MakeArgString(Plugin));
+7 -6
pkgs/development/compilers/rust/1_52.nix
··· 15 15 , CoreFoundation, Security 16 16 , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 17 , makeRustPlatform 18 - , llvmPackages_11, llvm_11 18 + , llvmPackages_11 19 + , llvmPackages_12, llvm_12 19 20 } @ args: 20 21 21 22 import ./default.nix { 22 23 rustcVersion = "1.52.1"; 23 24 rustcSha256 = "sha256-Om8jom0Oj4erv78yxc19qgwLcdCYar78Vrml+/vQv5g="; 24 25 25 - llvmSharedForBuild = pkgsBuildBuild.llvmPackages_11.libllvm.override { enableSharedLibraries = true; }; 26 - llvmSharedForHost = pkgsBuildHost.llvmPackages_11.libllvm.override { enableSharedLibraries = true; }; 27 - llvmSharedForTarget = pkgsBuildTarget.llvmPackages_11.libllvm.override { enableSharedLibraries = true; }; 26 + llvmSharedForBuild = pkgsBuildBuild.llvmPackages_12.libllvm.override { enableSharedLibraries = true; }; 27 + llvmSharedForHost = pkgsBuildHost.llvmPackages_12.libllvm.override { enableSharedLibraries = true; }; 28 + llvmSharedForTarget = pkgsBuildTarget.llvmPackages_12.libllvm.override { enableSharedLibraries = true; }; 28 29 29 30 llvmBootstrapForDarwin = llvmPackages_11; 30 31 31 32 # For use at runtime 32 - llvmShared = llvm_11.override { enableSharedLibraries = true; }; 33 + llvmShared = llvm_12.override { enableSharedLibraries = true; }; 33 34 34 35 # Note: the version MUST be one version prior to the version we're 35 36 # building ··· 55 56 ]; 56 57 } 57 58 58 - (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvm_11"]) 59 + (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_12" "llvm_12"])
+3 -2
pkgs/development/libraries/libndctl/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, autoreconfHook 2 - , asciidoctor, pkg-config, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt 2 + , asciidoc, pkg-config, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt 3 3 , json_c, kmod, which, util-linux, udev, keyutils 4 4 }: 5 5 ··· 17 17 outputs = [ "out" "lib" "man" "dev" ]; 18 18 19 19 nativeBuildInputs = 20 - [ autoreconfHook asciidoctor pkg-config xmlto docbook_xml_dtd_45 docbook_xsl libxslt 20 + [ autoreconfHook asciidoc pkg-config xmlto docbook_xml_dtd_45 docbook_xsl libxslt 21 21 which 22 22 ]; 23 23 ··· 28 28 configureFlags = 29 29 [ "--without-bash" 30 30 "--without-systemd" 31 + "--disable-asciidoctor" # depends on ruby 2.7, use asciidoc instead 31 32 ]; 32 33 33 34 patchPhase = ''
+8 -1
pkgs/development/libraries/libxml2/default.nix
··· 1 - { stdenv, lib, fetchurl 1 + { stdenv, lib, fetchurl, fetchpatch 2 2 , zlib, xz, libintl, python, gettext, ncurses, findXMLCatalogs 3 3 , pythonSupport ? enableShared && stdenv.buildPlatform == stdenv.hostPlatform 4 4 , icuSupport ? false, icu ? null ··· 27 27 # https://github.com/NixOS/nixpkgs/pull/63174 28 28 # https://github.com/NixOS/nixpkgs/pull/72342 29 29 ./utf8-xmlErrorFuncHandler.patch 30 + 31 + # Work around lxml API misuse. 32 + # https://gitlab.gnome.org/GNOME/libxml2/issues/255 33 + (fetchpatch { 34 + url = "https://gitlab.gnome.org/GNOME/libxml2/commit/85b1792e37b131e7a51af98a37f92472e8de5f3f.patch"; 35 + sha256 = "epqlNs2S0Zczox3KyCB6R2aJKh87lXydlZ0x6tLHweE="; 36 + }) 30 37 ]; 31 38 32 39 outputs = [ "bin" "dev" "out" "man" "doc" ]
-5
pkgs/development/python-modules/pywemo/default.nix
··· 47 47 pytestCheckHook 48 48 ]; 49 49 50 - disabledTests = [ 51 - # https://github.com/NixOS/nixpkgs/issues/124165 52 - "test_bridge_getdevicestatus" 53 - ]; 54 - 55 50 pythonImportsCheck = [ "pywemo" ]; 56 51 57 52 meta = with lib; {
+14 -4
pkgs/tools/filesystems/curlftpfs/default.nix
··· 1 1 { lib, stdenv, fetchurl, autoreconfHook, fuse, curl, pkg-config, glib, zlib }: 2 2 3 - stdenv.mkDerivation { 4 - name = "curlftpfs-0.9.2"; 3 + stdenv.mkDerivation rec { 4 + pname = "curlftpfs"; 5 + version = "0.9.2"; 6 + 5 7 src = fetchurl { 6 - url = "mirror://sourceforge/curlftpfs/curlftpfs-0.9.2.tar.gz"; 8 + url = "mirror://sourceforge/curlftpfs/curlftpfs-${version}.tar.gz"; 7 9 sha256 = "0n397hmv21jsr1j7zx3m21i7ryscdhkdsyqpvvns12q7qwwlgd2f"; 8 10 }; 11 + 12 + patches = [ 13 + # This removes AC_FUNC_MALLOC and AC_FUNC_REALLOC from configure.ac because 14 + # it is known to cause problems. Search online for "rpl_malloc" and 15 + # "rpl_realloc" to find out more. 16 + ./fix-rpl_malloc.patch 17 + ]; 18 + 9 19 nativeBuildInputs = [ autoreconfHook pkg-config ]; 10 20 buildInputs = [ fuse curl glib zlib ]; 11 21 ··· 24 34 meta = with lib; { 25 35 description = "Filesystem for accessing FTP hosts based on FUSE and libcurl"; 26 36 homepage = "http://curlftpfs.sourceforge.net"; 27 - license = licenses.gpl2; 37 + license = licenses.gpl2Only; 28 38 platforms = platforms.unix; 29 39 }; 30 40 }
+13
pkgs/tools/filesystems/curlftpfs/fix-rpl_malloc.patch
··· 1 + diff -Naur a/configure.ac b/configure.ac 2 + --- a/configure.ac 2008-04-23 20:37:42.000000000 +0900 3 + +++ b/configure.ac 2021-05-16 01:28:24.000000000 +0900 4 + @@ -46,9 +46,7 @@ 5 + 6 + # Checks for library functions. 7 + AC_FUNC_CHOWN 8 + -AC_FUNC_MALLOC 9 + AC_FUNC_MKTIME 10 + -AC_FUNC_REALLOC 11 + AC_FUNC_SELECT_ARGTYPES 12 + AC_FUNC_STRFTIME 13 + AC_FUNC_UTIME_NULL
+1 -1
pkgs/top-level/all-packages.nix
··· 11606 11606 }; 11607 11607 rust_1_52 = callPackage ../development/compilers/rust/1_52.nix { 11608 11608 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 11609 - llvm_11 = llvmPackages_11.libllvm; 11609 + llvm_12 = llvmPackages_12.libllvm; 11610 11610 }; 11611 11611 rust = rust_1_52; 11612 11612