Skip to content

Commit

Permalink
Merge #205270: staging-next 2022-12-09
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Dec 17, 2022
2 parents 2e80260 + ae1bac8 commit 0ba3487
Show file tree
Hide file tree
Showing 158 changed files with 1,575 additions and 1,837 deletions.
1 change: 1 addition & 0 deletions nixos/modules/config/no-x-libs.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ with lib;
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
pinentry = super.pinentry.override { enabledFlavors = [ "curses" "tty" "emacs" ]; withLibsecret = false; };
qemu = super.qemu.override { gtkSupport = false; spiceSupport = false; sdlSupport = false; };
qrencode = super.qrencode.overrideAttrs (_: { doCheck = false; });
zbar = super.zbar.override { enableVideo = false; withXorg = false; };
}));
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/applications/misc/gv/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, Xaw3d, ghostscriptX, perl, pkg-config, libiconv }:
{ lib, stdenv, fetchurl, libXext, Xaw3d, ghostscriptX, perl, pkg-config, libiconv }:

stdenv.mkDerivation rec {
pname = "gv";
Expand All @@ -15,6 +15,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ pkg-config ];
buildInputs = [
libXext
Xaw3d
ghostscriptX
perl
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/jekyll/basic/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ DEPENDENCIES
jemoji

BUNDLED WITH
2.3.25
2.3.9
1 change: 1 addition & 0 deletions pkgs/applications/misc/jekyll/full/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ gem "jemoji"
# Optional dependencies:
gem "jekyll-coffeescript"
#gem "jekyll-docs"
gem "jekyll-favicon"
gem "jekyll-feed", "~> 0.9"
gem "jekyll-gist"
gem "jekyll-paginate"
Expand Down
8 changes: 7 additions & 1 deletion pkgs/applications/misc/jekyll/full/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ GEM
jekyll-coffeescript (2.0.0)
coffee-script (~> 2.2)
coffee-script-source (~> 1.12)
jekyll-favicon (1.1.0)
jekyll (>= 3.0, < 5.0)
mini_magick (~> 4.11)
rexml (~> 3.2, >= 3.2.5)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-gist (1.5.0)
Expand Down Expand Up @@ -100,6 +104,7 @@ GEM
mime-types (3.4.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_magick (4.11.0)
mini_portile2 (2.8.0)
minitest (5.16.3)
nokogiri (1.13.9)
Expand Down Expand Up @@ -146,6 +151,7 @@ DEPENDENCIES
jekyll
jekyll-avatar
jekyll-coffeescript
jekyll-favicon
jekyll-feed (~> 0.9)
jekyll-gist
jekyll-mentions
Expand All @@ -163,4 +169,4 @@ DEPENDENCIES
yajl-ruby (~> 1.4)

BUNDLED WITH
2.3.25
2.3.9
21 changes: 21 additions & 0 deletions pkgs/applications/misc/jekyll/full/gemset.nix
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,17 @@
};
version = "2.0.0";
};
jekyll-favicon = {
dependencies = ["jekyll" "mini_magick" "rexml"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0dyksm4i11n0qshd7wh6dvk8d0fc70dd32ir2dxs6igxq0gd6hi1";
type = "gem";
};
version = "1.1.0";
};
jekyll-feed = {
dependencies = ["jekyll"];
groups = ["default"];
Expand Down Expand Up @@ -526,6 +537,16 @@
};
version = "3.2022.0105";
};
mini_magick = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1aj604x11d9pksbljh0l38f70b558rhdgji1s9i763hiagvvx2hs";
type = "gem";
};
version = "4.11.0";
};
mini_portile2 = {
groups = ["default"];
platforms = [];
Expand Down
4 changes: 0 additions & 4 deletions pkgs/applications/science/engineering/strictdoc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
, buildPythonApplication
, fetchFromGitHub
, python3
, pythonOlder
, html5lib
, invoke
, openpyxl
, poetry-core
, tidylib
, beautifulsoup4
, dataclasses
, datauri
, docutils
, jinja2
Expand Down Expand Up @@ -73,8 +71,6 @@ buildPythonApplication rec {
textx
xlrd
XlsxWriter
] ++ lib.optionals (pythonOlder "3.7") [
dataclasses
];

checkInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/virtualization/docker/compose_1.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, buildPythonApplication, fetchPypi, pythonOlder
, installShellFiles
, mock, pytest, nose
, pyyaml, backports_ssl_match_hostname, colorama, docopt
, pyyaml, colorama, docopt
, dockerpty, docker, jsonschema, requests
, six, texttable, websocket-client, cached-property
, enum34, functools32, paramiko, distro, python-dotenv
Expand All @@ -24,7 +24,7 @@ buildPythonApplication rec {
pyyaml colorama dockerpty docker
jsonschema requests six texttable websocket-client
docopt cached-property paramiko distro python-dotenv
] ++ lib.optional (pythonOlder "3.7") backports_ssl_match_hostname
]
++ lib.optional (pythonOlder "3.4") enum34
++ lib.optional (pythonOlder "3.2") functools32;

Expand Down
5 changes: 5 additions & 0 deletions pkgs/applications/window-managers/notion/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ stdenv.mkDerivation rec {
sha256 = "14swd0yqci8lxn259fkd9w92bgyf4rmjwgvgyqp78wlfix6ai4mv";
};

# error: 'PATH_MAX' undeclared
postPatch = ''
sed 1i'#include <linux/limits.h>' -i mod_notionflux/notionflux/notionflux.c
'';

nativeBuildInputs = [ pkg-config makeWrapper groff ];
buildInputs = [ lua gettext which readline fontconfig libX11 libXext libSM
libXinerama libXrandr libXft ];
Expand Down
3 changes: 2 additions & 1 deletion pkgs/build-support/bintools-wrapper/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ stdenv.mkDerivation {

# Create symlinks for rest of the binaries.
+ ''
for binary in objdump objcopy size strings as ar nm gprof dwp c++filt addr2line ranlib readelf elfedit; do
for binary in objdump objcopy size strings as ar nm gprof dwp c++filt addr2line \
ranlib readelf elfedit dlltool dllwrap windmc windres; do
if [ -e $ldPath/${targetPrefix}''${binary} ]; then
ln -s $ldPath/${targetPrefix}''${binary} $out/bin/${targetPrefix}''${binary}
fi
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/go/module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ let
flags+=($buildFlags "''${buildFlagsArray[@]}")
flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
flags+=(''${ldflags:+-ldflags="$ldflags"})
flags+=("-v" "-p" "$NIX_BUILD_CORES")
flags+=("-p" "$NIX_BUILD_CORES")
if [ "$cmd" = "test" ]; then
flags+=(-vet=off)
Expand Down
2 changes: 1 addition & 1 deletion pkgs/build-support/go/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ let
flags+=($buildFlags "''${buildFlagsArray[@]}")
flags+=(''${tags:+-tags=${lib.concatStringsSep "," tags}})
flags+=(''${ldflags:+-ldflags="$ldflags"})
flags+=("-v" "-p" "$NIX_BUILD_CORES")
flags+=("-p" "$NIX_BUILD_CORES")
if [ "$cmd" = "test" ]; then
flags+=(-vet=off)
Expand Down
14 changes: 7 additions & 7 deletions pkgs/build-support/wrapper-common/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,13 @@ badPath() {
# directory (including the build directory).
test \
"$p" != "/dev/null" -a \
"${p#${NIX_STORE}}" = "$p" -a \
"${p#${NIX_BUILD_TOP}}" = "$p" -a \
"${p#/tmp}" = "$p" -a \
"${p#${TMP:-/tmp}}" = "$p" -a \
"${p#${TMPDIR:-/tmp}}" = "$p" -a \
"${p#${TEMP:-/tmp}}" = "$p" -a \
"${p#${TEMPDIR:-/tmp}}" = "$p"
"${p#"${NIX_STORE}"}" = "$p" -a \
"${p#"${NIX_BUILD_TOP}"}" = "$p" -a \
"${p#/tmp}" = "$p" -a \
"${p#"${TMP:-/tmp}"}" = "$p" -a \
"${p#"${TMPDIR:-/tmp}"}" = "$p" -a \
"${p#"${TEMP:-/tmp}"}" = "$p" -a \
"${p#"${TEMPDIR:-/tmp}"}" = "$p"
}

expandResponseParams() {
Expand Down
16 changes: 13 additions & 3 deletions pkgs/data/misc/cacert/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,20 @@
}:

let
blocklist = writeText "cacert-blocklist.txt" (lib.concatStringsSep "\n" blacklist);
blocklist = writeText "cacert-blocklist.txt" (lib.concatStringsSep "\n" (blacklist ++ [
# Mozilla does not trust new certificates issued by these CAs after 2022/11/30¹
# in their products, but unfortunately we don't have such a fine-grained
# solution for most system packages², so we decided to eject these.
#
# [1] https://groups.google.com/a/mozilla.org/g/dev-security-policy/c/oxX69KFvsm4/m/yLohoVqtCgAJ
# [2] https://utcc.utoronto.ca/~cks/space/blog/linux/CARootStoreTrustProblem
"TrustCor ECA-1"
"TrustCor RootCert CA-1"
"TrustCor RootCert CA-2"
]));
extraCertificatesBundle = writeText "cacert-extra-certificates-bundle.crt" (lib.concatStringsSep "\n\n" extraCertificateStrings);

srcVersion = "3.83";
srcVersion = "3.86";
version = if nssOverride != null then nssOverride.version else srcVersion;
meta = with lib; {
homepage = "https://curl.haxx.se/docs/caextract.html";
Expand All @@ -35,7 +45,7 @@ let

src = if nssOverride != null then nssOverride.src else fetchurl {
url = "mirror://mozilla/security/nss/releases/NSS_${lib.replaceStrings ["."] ["_"] version}_RTM/src/nss-${version}.tar.gz";
sha256 = "sha256-qyPqZ/lkCQuLc8gKZ0CCVxw25fTrqSBXrGSMnB3vASg=";
sha256 = "sha256-PzhfxoZHa7uoEQNfpoIbVCR11VdHsYwgwiHU1mVzuXU=";
};

dontBuild = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/data/misc/mobile-broadband-provider-info/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "mobile-broadband-provider-info";
version = "20220725";
version = "20221107";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "sha256-SEWuAcKH8t+wIrxi1ZoUiHP/xKZz9RAgViZXQm1jKs0=";
sha256 = "sha256-2TOSVmw0epbu2V2oxmpdoN2U9BFc+zowX/JoLGTP2BA=";
};

nativeBuildInputs = [
Expand Down
19 changes: 4 additions & 15 deletions pkgs/data/misc/tzdata/default.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
{ lib, stdenv, fetchurl, fetchpatch, buildPackages }:
{ lib, stdenv, fetchurl, buildPackages }:

stdenv.mkDerivation rec {
pname = "tzdata";
version = "2022f";
version = "2022g";

srcs = [
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz";
hash = "sha256-mZDXH2ddISVnuTH+iq4cq3An+J/vuKedgIppM6Z68AA=";
hash = "sha256-RJHbgoGulKhNk55Ce92D3DifJnZNJ9mlxS14LBZ2RHg=";
})
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz";
hash = "sha256-5FQ+kPhPkfqCgJ6piTAFL9vBOIDIpiPuOk6qQvimTBU=";
hash = "sha256-lhC7C5ZW/0BMNhpB8yhtpTBktUadhPAMnLIxTIYU2nQ=";
})
];

sourceRoot = ".";

patches = lib.optionals stdenv.hostPlatform.isWindows [
./0001-Add-exe-extension-for-MS-Windows-binaries.patch
] ++ [
(fetchpatch {
name = "fix-get-random-on-osx-1.patch";
url = "https://github.com/eggert/tz/commit/5db8b3ba4816ccb8f4ffeb84f05b99e87d3b1be6.patch";
hash = "sha256-FevGjiSahYwEjRUTvRY0Y6/jUO4YHiTlAAPixzEy5hw=";
})
(fetchpatch {
name = "fix-get-random-on-osx-2.patch";
url = "https://github.com/eggert/tz/commit/841183210311b1d4ffb4084bfde8fa8bdf3e6757.patch";
hash = "sha256-1tUTZBMT7V463P7eygpFS6/k5gTeeXumk5+V4gdKpEI=";
})
];

outputs = [ "out" "bin" "man" "dev" ];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/compilers/go/1.19.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ let
in
stdenv.mkDerivation rec {
pname = "go";
version = "1.19.3";
version = "1.19.4";

src = fetchurl {
url = "https://go.dev/dl/go${version}.src.tar.gz";
sha256 = "sha256-GKwmPjkhC89o2F9DcOl/sXNBZplaH2P7OLT24H2Q0hI=";
sha256 = "sha256-7adNtKxJSACj5m7nhOSVv7ubjlNd+SSosBsagCi382g=";
};

strictDeps = true;
Expand Down
Loading

0 comments on commit 0ba3487

Please sign in to comment.