From b071aea8d0f28f2306e12f13041228925be6a27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Wed, 13 Oct 2021 13:05:54 +0200 Subject: [PATCH 01/27] nixos/nixos-enter: Add IN_NIXOS_ENTER variable --- nixos/modules/installer/tools/nixos-enter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/installer/tools/nixos-enter.sh b/nixos/modules/installer/tools/nixos-enter.sh index 450d77618148..e57296b38e47 100644 --- a/nixos/modules/installer/tools/nixos-enter.sh +++ b/nixos/modules/installer/tools/nixos-enter.sh @@ -68,7 +68,7 @@ mount --rbind /sys "$mountPoint/sys" fi # Run the activation script. Set $LOCALE_ARCHIVE to supress some Perl locale warnings. - LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" chroot "$mountPoint" "$system/activate" 1>&2 || true + LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" IN_NIXOS_ENTER=1 chroot "$mountPoint" "$system/activate" 1>&2 || true # Create /tmp chroot "$mountPoint" systemd-tmpfiles --create --remove --exclude-prefix=/dev 1>&2 || true From a76b8b330b139aa808d141a1164e14d27af3a882 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 14 Oct 2021 09:23:03 -0700 Subject: [PATCH 02/27] _1password: 1.11.2 -> 1.12.2 The most desirable change in this update range is the ability to create items via files, instead of via specifying the contents base64-encoded on the command line (which leaks secrets to anybody who can list processes). --- pkgs/applications/misc/1password/default.nix | 47 +++++++++++--------- 1 file changed, 25 insertions(+), 22 deletions(-) diff --git a/pkgs/applications/misc/1password/default.nix b/pkgs/applications/misc/1password/default.nix index 8f4ea3df18d0..9e9e5c28e5ef 100644 --- a/pkgs/applications/misc/1password/default.nix +++ b/pkgs/applications/misc/1password/default.nix @@ -2,24 +2,27 @@ stdenv.mkDerivation rec { pname = "1password"; - version = "1.11.2"; + version = "1.12.2"; src = - if stdenv.isLinux then fetchzip { - url = { - "i686-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; - "x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; - "aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm_v${version}.zip"; - }.${stdenv.hostPlatform.system}; - sha256 = { - "i686-linux" = "0rh5bakj9qd43cf6wj5v46a3h98kcwqyc0f1yw72wvcacvjycyjz"; - "x86_64-linux" = "00nf0cb8cxk1pvzr1wq778wvikzrlzy38r3rzkq44whdpdj50jzx"; - "aarch64-linux" = "1gv282z49bj3ln5na4wb1z5455a64cyd54fp5i96k8shaxd0apxf"; - }.${stdenv.hostPlatform.system}; - stripRoot = false; - } else fetchurl { - url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_apple_universal_v${version}.pkg"; - sha256 = "1pqdjr6d23j9fpwgahb0s1ni1bpjv9jajs1hapgq5kdrww2w7nhm"; - }; + if stdenv.isLinux then + fetchzip + { + url = { + "i686-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip"; + "x86_64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip"; + "aarch64-linux" = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_arm_v${version}.zip"; + }.${stdenv.hostPlatform.system}; + sha256 = { + "i686-linux" = "tCm/vDBASPN9FBSVRJ6BrFc7hdtZWPEAgvokJhjazPg="; + "x86_64-linux" = "3VkVMuTAfeEowkguJi2fd1kG7GwO1VN5GBPgNaH3Zv4="; + "aarch64-linux" = "vWoA/0ZfdwVniHmxC4nH1QIc6bjdb00+SwlkIWc9BPs="; + }.${stdenv.hostPlatform.system}; + stripRoot = false; + } else + fetchurl { + url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_apple_universal_v${version}.pkg"; + sha256 = "xG/6YZdkJxr5Py90rkIyG4mK40yFTmNSfih9jO2uF+4="; + }; buildInputs = lib.optionals stdenv.isDarwin [ xar cpio ]; @@ -43,11 +46,11 @@ stdenv.mkDerivation rec { ''; meta = with lib; { - description = "1Password command-line tool"; - homepage = "https://support.1password.com/command-line/"; + description = "1Password command-line tool"; + homepage = "https://support.1password.com/command-line/"; downloadPage = "https://app-updates.agilebits.com/product_history/CLI"; - maintainers = with maintainers; [ joelburget marsam ]; - license = licenses.unfree; - platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]; + maintainers = with maintainers; [ joelburget marsam ]; + license = licenses.unfree; + platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ]; }; } From bcc112fa14a23e6163f7eaf549fe7e71b5cc07bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Sun, 17 Oct 2021 01:59:35 +0200 Subject: [PATCH 03/27] scummvm: 2.2.0 -> 2.5.0 --- pkgs/games/scummvm/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/games/scummvm/default.nix b/pkgs/games/scummvm/default.nix index b22d292f2070..d7208265e39d 100644 --- a/pkgs/games/scummvm/default.nix +++ b/pkgs/games/scummvm/default.nix @@ -5,11 +5,11 @@ stdenv.mkDerivation rec { pname = "scummvm"; - version = "2.2.0"; + version = "2.5.0"; src = fetchurl { url = "http://scummvm.org/frs/scummvm/${version}/${pname}-${version}.tar.xz"; - sha256 = "FGllflk72Ky8+sC4ObCG9kDr8SBjPpPxFsq2UrWyc4c="; + sha256 = "sha256:08ynw1cmld41p4bwrw84gb1nv229va70i91qiqsjr3c2jnqy8zml"; }; nativeBuildInputs = [ nasm ]; From f5d61650827c5fcfe6426b7d7b4631216435ca8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Fri, 15 Oct 2021 12:05:13 -0500 Subject: [PATCH 04/27] =?UTF-8?q?cpyparsing:=202.4.5.0.1.1=20=E2=86=92=202?= =?UTF-8?q?.4.5.0.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/python-modules/cpyparsing/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/cpyparsing/default.nix b/pkgs/development/python-modules/cpyparsing/default.nix index 66f173106e49..2cba79b4886e 100644 --- a/pkgs/development/python-modules/cpyparsing/default.nix +++ b/pkgs/development/python-modules/cpyparsing/default.nix @@ -1,18 +1,20 @@ -{ lib, buildPythonPackage, fetchFromGitHub, cython, python }: +{ lib, buildPythonPackage, fetchFromGitHub, cython, pexpect, python }: buildPythonPackage rec { pname = "cpyparsing"; - version = "2.4.5.0.1.1"; + version = "2.4.5.0.1.2"; src = fetchFromGitHub { owner = "evhub"; repo = pname; - rev = "aa8ee45daec5c55328446bad7202ab8f799ab0ce"; # No tags on repo - sha256 = "1mxa5q41cb0k4lkibs0d4lzh1w6kmhhdrsm0w0r1m3s80m05ffmw"; + rev = "38f2b323b99cee9a080106ae9951ffc5752599f0"; # No tags on repo + sha256 = "0wrm6vzwp968z7s0qhr23v39ivyxzvav3mv9i2n0iv9zl041kypv"; }; nativeBuildInputs = [ cython ]; + checkInputs = [ pexpect ]; + checkPhase = "${python.interpreter} tests/cPyparsing_test.py"; meta = with lib; { From c61d6d45c9eb98c70e99f045f53f2705fe8ecd63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabi=C3=A1n=20Heredia=20Montiel?= Date: Fri, 15 Oct 2021 12:09:48 -0500 Subject: [PATCH 05/27] =?UTF-8?q?coconut:=201.4.3=20=E2=86=92=201.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../python-modules/coconut/default.nix | 29 +++++++------------ 1 file changed, 10 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/coconut/default.nix b/pkgs/development/python-modules/coconut/default.nix index e964f2abaaa0..b140f8110a6d 100644 --- a/pkgs/development/python-modules/coconut/default.nix +++ b/pkgs/development/python-modules/coconut/default.nix @@ -5,6 +5,7 @@ , cpyparsing , ipykernel , mypy +, pexpect , pygments , pytestCheckHook , prompt-toolkit @@ -14,34 +15,24 @@ buildPythonApplication rec { pname = "coconut"; - version = "1.4.3"; + version = "1.5.0"; src = fetchFromGitHub { owner = "evhub"; repo = "coconut"; rev = "v${version}"; - sha256 = "1pz13vza3yy95dbylnq89fzc3mwgcqr7ds096wy25k6vxd9dp9c3"; + sha256 = "1gc0fwqwzn1j6mcg1f6fw832w66pbaaq9mmi0r4kw3xn5f877icz"; }; - propagatedBuildInputs = [ cpyparsing pygments prompt-toolkit ipykernel mypy watchdog ]; + propagatedBuildInputs = [ cpyparsing ipykernel mypy pygments prompt-toolkit watchdog ]; - patches = [ - (fetchpatch { - name = "fix-setuptools-version-check.patch"; - url = "https://github.com/LibreCybernetics/coconut/commit/2916a087da1e063cc4438b68d4077347fd1ea4a2.patch"; - sha256 = "136jbd2rvnifw30y73vv667002nf7sbkm5qyihshj4db7ngysr6q"; - }) - (fetchpatch { - name = "support-python-3.9.patch"; - url = "https://github.com/evhub/coconut/commit/5c724b4dd92fb62c614d8192e3cac3dd1d475790.patch"; - sha256 = "04xmzyfmyv6gr2l2z6pdxlllwzcmwxvahxzqyxglr36hfl33ad71"; - }) - ]; + postPatch = '' + substituteInPlace coconut/kernel_installer.py \ + --replace "fixpath(os.path.join(sys.exec_prefix, icoconut_custom_kernel_install_loc))" \ + "fixpath(icoconut_custom_kernel_install_loc)" + ''; - checkInputs = [ - pytestCheckHook - tkinter - ]; + checkInputs = [ pexpect pytestCheckHook tkinter ]; # Currently most tests do not work on Hydra due to external fetches. pytestFlagsArray = [ From 3032353fcba7583691e6cb82f888ef67b8a0ec3c Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Tue, 19 Oct 2021 13:25:44 -0400 Subject: [PATCH 06/27] abella: 2.0.6 -> 2.0.7 --- pkgs/applications/science/logic/abella/default.nix | 4 ++-- pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/science/logic/abella/default.nix b/pkgs/applications/science/logic/abella/default.nix index 14ceb53f9bb0..3d752b7d7b93 100644 --- a/pkgs/applications/science/logic/abella/default.nix +++ b/pkgs/applications/science/logic/abella/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "abella"; - version = "2.0.6"; + version = "2.0.7"; src = fetchurl { url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz"; - sha256 = "164q9gngckg6q69k13lwx2pq3cnc9ckw1qi8dnpxqfjgwfqr7xyi"; + sha256 = "sha256-/eOiebMFHgrurtrSHPlgZO3xmmxBOUmyAzswXZLd3Yc="; }; buildInputs = [ rsync ] ++ (with ocamlPackages; [ ocaml ocamlbuild findlib ]); diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a92efb79584d..e25feaefae15 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -31098,9 +31098,7 @@ with pkgs; abc-verifier = callPackage ../applications/science/logic/abc {}; - abella = callPackage ../applications/science/logic/abella { - ocamlPackages = ocaml-ng.ocamlPackages_4_07; - }; + abella = callPackage ../applications/science/logic/abella { }; acgtk = callPackage ../applications/science/logic/acgtk {}; From befdb97cceae543dcb1950fe5eab18bb80f245a0 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 20:47:45 -0500 Subject: [PATCH 07/27] actionlint: 1.6.5 -> 1.6.6 https://github.com/rhysd/actionlint/releases/tag/v1.6.6 --- pkgs/development/tools/analysis/actionlint/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/actionlint/default.nix b/pkgs/development/tools/analysis/actionlint/default.nix index 0855084b314e..137c966349ca 100644 --- a/pkgs/development/tools/analysis/actionlint/default.nix +++ b/pkgs/development/tools/analysis/actionlint/default.nix @@ -2,7 +2,7 @@ buildGoModule rec { pname = "actionlint"; - version = "1.6.5"; + version = "1.6.6"; subPackages = [ "cmd/actionlint" ]; @@ -10,7 +10,7 @@ buildGoModule rec { owner = "rhysd"; repo = "actionlint"; rev = "v${version}"; - sha256 = "12s9ijfvnmfbcvf5lxi2jm3j7vrn7rfkas2lib5jdih77hf9270k"; + sha256 = "17c6952cjdpbl70lnn34pl3njrvpqmdbgnrm1q69kx94bni1slnz"; }; vendorSha256 = "1i7442n621jmc974b73pfz1gyqw74ilpg1zz16yxqpfh5c958m7n"; From a919379198058c910d996bf80742ed82ae523c30 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 21:21:45 -0500 Subject: [PATCH 08/27] rage: 0.6.0 -> 0.7.0 https://github.com/str4d/rage/releases/tag/v0.7.0 --- pkgs/tools/security/rage/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/security/rage/default.nix b/pkgs/tools/security/rage/default.nix index 99e61dc23581..9a7c81971604 100644 --- a/pkgs/tools/security/rage/default.nix +++ b/pkgs/tools/security/rage/default.nix @@ -3,16 +3,16 @@ rustPlatform.buildRustPackage rec { pname = "rage"; - version = "0.6.0"; + version = "0.7.0"; src = fetchFromGitHub { owner = "str4d"; repo = pname; rev = "v${version}"; - sha256 = "1vag448zpjyplcjpf1ir81l8ip3yxm9vkrxffqr78zslb4k6hw2w"; + sha256 = "1dzsqppkcxvajyybmday8xnwwwqv3g44hb5fzqy4whkblwxbn2gk"; }; - cargoSha256 = "06jfhq9vnkq5g5bw1zl2sxsih63yajcyk9zaizhzkdsbhydr4955"; + cargoSha256 = "1bcj1rd78kgiy1xqpkxffzl6v9xdp778y66g6nhikjq2yarz77ji"; nativeBuildInputs = [ installShellFiles ]; From 68e11aa478f78fcc5ad3998fd1a302330d496a0f Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 21:28:59 -0500 Subject: [PATCH 09/27] cascadia-code: 2106.17 -> 2108.26 https://github.com/microsoft/cascadia-code/releases/tag/v2108.26 --- pkgs/data/fonts/cascadia-code/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/data/fonts/cascadia-code/default.nix b/pkgs/data/fonts/cascadia-code/default.nix index c223f9366af1..b6a1a7a2c174 100644 --- a/pkgs/data/fonts/cascadia-code/default.nix +++ b/pkgs/data/fonts/cascadia-code/default.nix @@ -1,13 +1,13 @@ { lib, fetchzip }: let - version = "2106.17"; + version = "2108.26"; in fetchzip { name = "cascadia-code-${version}"; url = "https://github.com/microsoft/cascadia-code/releases/download/v${version}/CascadiaCode-${version}.zip"; - sha256 = "sha256-EsXD6gY3q3KIk37vYPz731lLz5989cd+s5fz5rKIn2k="; + sha256 = "1dvwn5rs4ss4rwd64namy8ccz8dagkk84qjg13sxxqizyd5y08h1"; postFetch = '' mkdir -p $out/share/fonts/ From 4fcd8cf44935c78f92ef2a544a6ede588ffd10af Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 21:38:24 -0500 Subject: [PATCH 10/27] libvmaf: 2.2.1 -> 2.3.0 https://github.com/Netflix/vmaf/releases/tag/v2.3.0 --- pkgs/development/libraries/libvmaf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/libvmaf/default.nix b/pkgs/development/libraries/libvmaf/default.nix index 57a9095dc56e..03ca9b0d11b3 100644 --- a/pkgs/development/libraries/libvmaf/default.nix +++ b/pkgs/development/libraries/libvmaf/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "libvmaf"; - version = "2.2.1"; + version = "2.3.0"; src = fetchFromGitHub { owner = "netflix"; repo = "vmaf"; rev = "v${version}"; - sha256 = "sha256-t1dK4UnperX9YtvmTwIo/03Dxq/Pl+K6kZIL0uX1OcE="; + sha256 = "12mwl7vxc3xi0qar386mkhkpah9zzgjb74mzc2qqsgz9zzxp16dm"; }; sourceRoot = "source/libvmaf"; @@ -23,7 +23,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/Netflix/vmaf"; description = "Perceptual video quality assessment based on multi-method fusion (VMAF)"; - changelog = "https://github.com/Netflix/vmaf/blob/v${version}/CHANGELOG.md"; + changelog = "https://github.com/Netflix/vmaf/raw/v${version}/CHANGELOG.md"; platforms = platforms.unix; license = licenses.bsd2Patent; maintainers = [ maintainers.cfsmp3 maintainers.marsam ]; From 935ddcdab9de4897796862151112cddea8e504ae Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 21:52:55 -0500 Subject: [PATCH 11/27] nodejs-17_x: init at 17.0.1 https://github.com/nodejs/node/releases/tag/v17.0.0 https://github.com/nodejs/node/releases/tag/v17.0.1 --- pkgs/development/web/nodejs/v17.nix | 13 +++++++++++++ pkgs/top-level/all-packages.nix | 5 +++++ 2 files changed, 18 insertions(+) create mode 100644 pkgs/development/web/nodejs/v17.nix diff --git a/pkgs/development/web/nodejs/v17.nix b/pkgs/development/web/nodejs/v17.nix new file mode 100644 index 000000000000..e417582b16a9 --- /dev/null +++ b/pkgs/development/web/nodejs/v17.nix @@ -0,0 +1,13 @@ +{ callPackage, python3, enableNpm ? true }: + +let + buildNodejs = callPackage ./nodejs.nix { + python = python3; + }; +in +buildNodejs { + inherit enableNpm; + version = "17.0.1"; + sha256 = "071lhqbn103rnn8avqmqwnn2k4yqgcymx624f23k8z6bfbw81i3f"; + patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 667b8342510e..b01dbd62d8c5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6983,7 +6983,12 @@ with pkgs; nodejs-slim-16_x = callPackage ../development/web/nodejs/v16.nix { enableNpm = false; }; + nodejs-17_x = callPackage ../development/web/nodejs/v17.nix { }; + nodejs-slim-17_x = callPackage ../development/web/nodejs/v17.nix { + enableNpm = false; + }; # Update this when adding the newest nodejs major version! + # Do not set to nodejs-17_x because it requires 10.13 SDK on Darwin nodejs_latest = nodejs-16_x; nodejs-slim_latest = nodejs-slim-16_x; From 02e4d8ce5b58e1475675defdb0f80a333f4e5a85 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 21:56:14 -0500 Subject: [PATCH 12/27] brakeman: 5.0.4 -> 5.1.1 --- pkgs/development/tools/analysis/brakeman/Gemfile.lock | 4 ++-- pkgs/development/tools/analysis/brakeman/gemset.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/tools/analysis/brakeman/Gemfile.lock b/pkgs/development/tools/analysis/brakeman/Gemfile.lock index 13425cf9ee76..257d8a7fba1c 100644 --- a/pkgs/development/tools/analysis/brakeman/Gemfile.lock +++ b/pkgs/development/tools/analysis/brakeman/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - brakeman (5.0.4) + brakeman (5.1.1) PLATFORMS ruby @@ -10,4 +10,4 @@ DEPENDENCIES brakeman BUNDLED WITH - 2.1.4 + 2.2.24 diff --git a/pkgs/development/tools/analysis/brakeman/gemset.nix b/pkgs/development/tools/analysis/brakeman/gemset.nix index f37158353e00..ea241dbf6e70 100644 --- a/pkgs/development/tools/analysis/brakeman/gemset.nix +++ b/pkgs/development/tools/analysis/brakeman/gemset.nix @@ -4,9 +4,9 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1czqmrqbli2cnw4vv4pzz8bk78c7lpcnnyba74cj632swv1za6jd"; + sha256 = "0y71fqqd0azy5rn78fwiz9px0mql23zrl0ij0dzdkx22l4cscpb0"; type = "gem"; }; - version = "5.0.4"; + version = "5.1.1"; }; } From 0934cf75a8bac5c1778ee0da2a2c4a8443b01936 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 19 Oct 2021 22:27:26 -0500 Subject: [PATCH 13/27] rubyPackages: update --- pkgs/top-level/ruby-packages.nix | 52 ++++++++++++++++---------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/pkgs/top-level/ruby-packages.nix b/pkgs/top-level/ruby-packages.nix index 18c75ebd95e9..4587f2548f2e 100644 --- a/pkgs/top-level/ruby-packages.nix +++ b/pkgs/top-level/ruby-packages.nix @@ -206,10 +206,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1jvrl7400fv7v2jjri1r7ilj3sri36hzipwwgpn5psib4c9c59c6"; + sha256 = "0xwcnbwnbqq8jp92mvawn6y69cb53wsz84wwmk9vsfk1jjvqfw2z"; type = "gem"; }; - version = "0.1.1"; + version = "0.2.0"; }; builder = { groups = ["default"]; @@ -848,10 +848,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1bby4hbq96vnzcdbbybcbddin8dxdnj1ns758kcr4akykningqhh"; + sha256 = "0kd7c61f28f810fgxg480j7457nlvqarza9c2ra0zhav0dd80288"; type = "gem"; }; - version = "0.14.0"; + version = "0.15.0"; }; eventmachine = { groups = ["default"]; @@ -868,10 +868,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1iykfw2j6dd26rhgid3a17zghrmbmi68ppf3a7cdkvii68p4f37a"; + sha256 = "0g45ib20cjwkf4lzgm30cl6n7b6h1k8p6pdg4vh8s1rllrzrz342"; type = "gem"; }; - version = "0.85.0"; + version = "0.87.0"; }; execjs = { groups = ["default"]; @@ -1487,20 +1487,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0lrirj0gw420kw71bjjlqkqhqbrplla61gbv1jzgsz6bv90qr3ci"; + sha256 = "0a7p95md8j8lbgxx9dzygysxmrg1s80895f46f1y47k9kq9q56ry"; type = "gem"; }; - version = "2.5.1"; + version = "2.6.0"; }; jwt = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "036i5fc09275ms49mw43mh4i9pwaap778ra2pmx06ipzyyjl6bfs"; + sha256 = "0bg8pjx0mpvl10k6d8a6gc8dzlv2z5jkqcjbjcirnk032iriq838"; type = "gem"; }; - version = "2.2.3"; + version = "2.3.0"; }; kramdown = { groups = ["default"]; @@ -1704,10 +1704,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "173dp4vqvx1sl6aq83daxwn5xvb5rn3jgynjmb91swl7gmgp17yl"; + sha256 = "0lbim375gw2dk6383qirz13hgdmxlan0vc5da2l072j3qw6fqjm5"; type = "gem"; }; - version = "1.1.1"; + version = "1.1.2"; }; mini_portile2 = { groups = ["default"]; @@ -1983,10 +1983,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0h4iarqdych6v4jm5s0ywkc01qspadz8sf6qn7pkqmszq4iqv67q"; + sha256 = "0886fcc5bi0kc0rbma5fj3wa3hbg2nl7ivnbi2j995yzg36zq7xy"; type = "gem"; }; - version = "0.13.0"; + version = "0.13.1"; }; pg = { groups = ["default"]; @@ -2067,20 +2067,20 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0ahk9a2a05985m0037gqlpha5vdkvmwhyk8v1shkbnwkkm30k0mq"; + sha256 = "1xblxnrs0c5m326v7kgr32k4m00cl2ipcf5m0qvyisrw62vd5dbn"; type = "gem"; }; - version = "5.5.0"; + version = "5.5.2"; }; racc = { groups = ["default"]; platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "178k7r0xn689spviqzhvazzvxfq6fyjldxb3ywjbgipbfi4s8j1g"; + sha256 = "0la56m0z26j3mfn1a9lf2l03qx1xifanndf9p3vx1azf6sqy7v9d"; type = "gem"; }; - version = "1.5.2"; + version = "1.6.0"; }; rack = { groups = ["default"]; @@ -2256,10 +2256,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "1ig832dp0xmpp6a934nifzaj7wm9lzjxzasw911fagycs8p6m720"; + sha256 = "03r9739q3vq38g456snf3rk9hadf955bs5im6qs6m69h19mrz2yw"; type = "gem"; }; - version = "4.4.0"; + version = "4.5.1"; }; redis-rack = { dependencies = ["rack" "redis-store"]; @@ -2330,10 +2330,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "04ahv5gwfwdmwx6b7c0z91rrsfklvnqichgnqk1f9b9n6md3b8yw"; + sha256 = "0z1qk9i18zma000cqd758av9ca0622ykwp2cwm1x4dv9c0vw03yg"; type = "gem"; }; - version = "4.2.2"; + version = "4.2.3"; }; rouge = { groups = ["default"]; @@ -2625,10 +2625,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "0dxwkacc0scc1bqq10wc3v7wbh5j0jl5zcmw90kmfbgfjzl0drbr"; + sha256 = "0fmk4fkmqnh033sdsvbb6r2dadir0f9zaq0z2jyx1wfnvv5712md"; type = "gem"; }; - version = "5.48.0"; + version = "5.49.0"; }; sequel_pg = { dependencies = ["pg" "sequel"]; @@ -2689,10 +2689,10 @@ platforms = []; source = { remotes = ["https://rubygems.org"]; - sha256 = "07an5s5xfg8mll0h9ihdc1n23k6n9anil9ca07rm77aiq6k0n0vy"; + sha256 = "0wy8ws5n2gvxgkncbhrp4vkwjcbphcczw4k7y3g2wfl8fdmv5b4n"; type = "gem"; }; - version = "2.7.1"; + version = "2.7.2"; }; slop = { groups = ["default"]; From a1288e86284c1e6be612f907c8dea79b8f57ef7a Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 20 Oct 2021 04:20:00 +0000 Subject: [PATCH 14/27] nodejs-16_x: 16.11.1 -> 16.12.0 https://github.com/nodejs/node/releases/tag/v16.12.0 --- pkgs/development/web/nodejs/v16.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/web/nodejs/v16.nix b/pkgs/development/web/nodejs/v16.nix index 698108a42b60..9cbe093c7a39 100644 --- a/pkgs/development/web/nodejs/v16.nix +++ b/pkgs/development/web/nodejs/v16.nix @@ -8,7 +8,7 @@ let in buildNodejs { inherit enableNpm; - version = "16.11.1"; - sha256 = "0y32mdv8zs35la2bny8d9rxjvj1vr8z079ji1g6ajc2yw96pyn37"; + version = "16.12.0"; + sha256 = "1b3bschfa7946jwyqp3nmbdv7ap3rl4p7h50b9bac08981m0lqjz"; patches = [ ./disable-darwin-v8-system-instrumentation.patch ]; } From 36fa146b65620582660683ce5978ce4b17045bda Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 20 Oct 2021 04:20:00 +0000 Subject: [PATCH 15/27] nodejs: use github release url in meta The release file is huge, hence making it difficult to read in the browser. --- pkgs/development/web/nodejs/nodejs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/nodejs.nix b/pkgs/development/web/nodejs/nodejs.nix index 86332bf7b69c..7b88b0f8fd37 100644 --- a/pkgs/development/web/nodejs/nodejs.nix +++ b/pkgs/development/web/nodejs/nodejs.nix @@ -139,7 +139,7 @@ in meta = { description = "Event-driven I/O framework for the V8 JavaScript engine"; homepage = "https://nodejs.org"; - changelog = "https://github.com/nodejs/node/blob/v${version}/doc/changelogs/CHANGELOG_V${majorVersion}.md#${version}"; + changelog = "https://github.com/nodejs/node/releases/tag/v${version}"; license = licenses.mit; maintainers = with maintainers; [ goibhniu gilligan cko marsam ]; platforms = platforms.linux ++ platforms.darwin; From 35279a22be2a7b77aac802b54d6542733c7ebfce Mon Sep 17 00:00:00 2001 From: cwyc <16950437+cwyc@users.noreply.github.com> Date: Tue, 17 Aug 2021 04:06:25 -0400 Subject: [PATCH 16/27] gnome-backgrounds: stable image paths This patch makes the backgrounds database point to stable paths in /run/current-system/sw that don't decay whenever this package's hash changes. --- pkgs/desktops/gnome/core/gnome-backgrounds/default.nix | 7 +++++++ .../gnome/core/gnome-backgrounds/stable-dir.patch | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 pkgs/desktops/gnome/core/gnome-backgrounds/stable-dir.patch diff --git a/pkgs/desktops/gnome/core/gnome-backgrounds/default.nix b/pkgs/desktops/gnome/core/gnome-backgrounds/default.nix index 370cd14e4677..f7a39d92cfb4 100644 --- a/pkgs/desktops/gnome/core/gnome-backgrounds/default.nix +++ b/pkgs/desktops/gnome/core/gnome-backgrounds/default.nix @@ -13,6 +13,13 @@ stdenv.mkDerivation rec { updateScript = gnome.updateScript { packageName = "gnome-backgrounds"; attrPath = "gnome.gnome-backgrounds"; }; }; + patches = [ + # Makes the database point to stable paths in /run/current-system/sw/share, which don't decay whenever this package's hash changes. + # This assumes a nixos + gnome system, where this package is installed in environment.systemPackages, + # and /share outputs are included in environment.pathsToLink. + ./stable-dir.patch + ]; + nativeBuildInputs = [ meson ninja pkg-config gettext ]; meta = with lib; { diff --git a/pkgs/desktops/gnome/core/gnome-backgrounds/stable-dir.patch b/pkgs/desktops/gnome/core/gnome-backgrounds/stable-dir.patch new file mode 100644 index 000000000000..cbc55e8a5c01 --- /dev/null +++ b/pkgs/desktops/gnome/core/gnome-backgrounds/stable-dir.patch @@ -0,0 +1,9 @@ +diff --git a/backgrounds/meson.build b/backgrounds/meson.build +index 2175a16..cf521df 100644 +--- a/backgrounds/meson.build ++++ b/backgrounds/meson.build +@@ -1,5 +1,5 @@ + dataconf = configuration_data() +-dataconf.set('BACKGROUNDDIR', backgrounddir) ++dataconf.set('BACKGROUNDDIR', '/run/current-system/sw/share/backgrounds/gnome') + dataconf.set('datadir', datadir) From 161d1b7f6ece405ccfc1510ebac82b734053f174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Oct 2021 21:04:48 +0200 Subject: [PATCH 17/27] Revert "linux_testing_bcachefs: upstream tarballs rather patchsets" This reverts commit 98ae18fa62979ac9837629a39fb18234fcc74772. Appearantly the consens is that a broken kernel is preferred over a working one that is based on an outdated kernel: https://github.com/NixOS/nixpkgs/commit/98ae18fa62979ac9837629a39fb18234fcc74772 --- .../linux/kernel/linux-testing-bcachefs.nix | 51 +++++++++++-------- 1 file changed, 30 insertions(+), 21 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix b/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix index fa5729baf73a..48f1a22475fc 100644 --- a/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix +++ b/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix @@ -1,24 +1,33 @@ -{ lib, buildPackages, fetchFromGitHub, fetchpatch, perl, buildLinux, ... } @ args: +{ lib +, fetchpatch +, kernel +, date ? "2021-07-08" +, commit ? "3693b2ca83ff9eda49660b31299d2bebe3a1075f" +, diffHash ? "1sfq3vwc2kxa761s292f2cqrm0vvqvkdx6drpyn5yaxwnapwidcw" +, kernelPatches # must always be defined in bcachefs' all-packages.nix entry because it's also a top-level attribute supplied by callPackage +, argsOverride ? {} +, ... +} @ args: -buildLinux (args // { - # NOTE: bcachefs-tools should be updated simultaneously to preserve compatibility - version = "5.13.0-2021.10.01"; - modDirVersion = "5.13.0"; +# NOTE: bcachefs-tools should be updated simultaneously to preserve compatibility +(kernel.override ( args // { + argsOverride = { + version = "${kernel.version}-bcachefs-unstable-${date}"; + extraMeta = { + branch = "master"; + maintainers = with lib.maintainers; [ davidak chiiruno ]; + platforms = [ "x86_64-linux" ]; + }; + } // argsOverride; - src = fetchFromGitHub { - owner = "koverstreet"; - repo = "bcachefs"; - rev = "4114ced1db465b8f4e7f4d6a78aa11416a9ab5d9"; - sha256 = "sha256-viFC3HHIcjUTDPvloSKKsz9PuSLyvxfYnrtkVUB79mQ="; - }; + kernelPatches = [ { + name = "bcachefs-${commit}"; + patch = fetchpatch { + name = "bcachefs-${commit}.diff"; + url = "https://evilpiepirate.org/git/bcachefs.git/rawdiff/?id=${commit}&id2=v${lib.versions.majorMinor kernel.version}"; + sha256 = diffHash; + }; + extraConfig = "BCACHEFS_FS m"; + } ] ++ kernelPatches; - extraConfig = "BCACHEFS_FS m"; - - extraMeta = { - branch = "master"; - hydraPlatforms = []; # Should the testing kernels ever be built on Hydra? - maintainers = with lib.maintainers; [ davidak chiiruno ]; - platforms = [ "x86_64-linux" ]; - }; - -} // (args.argsOverride or {})) +})).overrideAttrs ({ meta ? {}, ... }: { meta = meta // { broken = true; }; }) From ec8f42f3970f95a3ba0ffbaa1dda21c3e29f5c47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 20 Oct 2021 21:09:11 +0200 Subject: [PATCH 18/27] Revert "bcachefs-tools: 2021-07-08 -> 2021-10-01" This reverts commit 6eb75312553092f4b0b1a7a98868c7303dfe2125. to keep in sync with the kernel version. --- pkgs/tools/filesystems/bcachefs-tools/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/filesystems/bcachefs-tools/default.nix b/pkgs/tools/filesystems/bcachefs-tools/default.nix index bdb7e55b5cf5..be7a42e19e9d 100644 --- a/pkgs/tools/filesystems/bcachefs-tools/default.nix +++ b/pkgs/tools/filesystems/bcachefs-tools/default.nix @@ -22,21 +22,20 @@ stdenv.mkDerivation { pname = "bcachefs-tools"; - version = "unstable-2021-10-01"; + version = "unstable-2021-07-08"; src = fetchFromGitHub { owner = "koverstreet"; repo = "bcachefs-tools"; - rev = "37850436dd7dfbe67738749c4d4a2506ffff1ec3"; - sha256 = "040vgxrimahmfs9rhlggfwg0bzl7h9j2ksx3563rh63asjwlhnhi"; + rev = "050d5f7bcf08bd02f5077a1c5559f352fa449e1e"; + sha256 = "15bl9ni0ckmvs5d7hi6v26z690rrmkb7dx00skn6gwq87ffz3imw"; }; postPatch = '' substituteInPlace Makefile \ --replace "pytest-3" "pytest --verbose" \ --replace "INITRAMFS_DIR=/etc/initramfs-tools" \ - "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" \ - --replace "doc/macro2rst.py" "python3 doc/macro2rst.py" + "INITRAMFS_DIR=${placeholder "out"}/etc/initramfs-tools" ''; nativeBuildInputs = [ pkg-config docutils ]; From 5753211e2b5b3a09ce2e1844e7c125b9dab66c72 Mon Sep 17 00:00:00 2001 From: 0x4A6F <0x4A6F@users.noreply.github.com> Date: Wed, 20 Oct 2021 21:37:20 +0200 Subject: [PATCH 19/27] promscale: 0.6.0 -> 0.6.2 --- pkgs/servers/monitoring/prometheus/promscale.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/monitoring/prometheus/promscale.nix b/pkgs/servers/monitoring/prometheus/promscale.nix index 255cc2523eee..5940d033deba 100644 --- a/pkgs/servers/monitoring/prometheus/promscale.nix +++ b/pkgs/servers/monitoring/prometheus/promscale.nix @@ -5,13 +5,13 @@ buildGoModule rec { pname = "promscale"; - version = "0.6.0"; + version = "0.6.2"; src = fetchFromGitHub { owner = "timescale"; repo = pname; rev = version; - sha256 = "sha256-2zbvibnmYAUyl7zkwcRgJKP24mid8/IUIUwfy7yaCzM="; + sha256 = "sha256-YGT+VaHX6dqYdJz002fGZxRYE3gFqY8Q7VdhtSTPpjU="; }; vendorSha256 = "sha256-o7vRSCEEqzhruHEnRPuxC1e4NzCl8Br4vvqg0pwGIgA="; From f7b3f1ade82c2681bf17c7dcdeabcae7f30a3fc8 Mon Sep 17 00:00:00 2001 From: Lisa Ugray Date: Fri, 15 Oct 2021 12:39:42 -0400 Subject: [PATCH 20/27] shadowenv: 2.0.5 -> 2.0.6 --- pkgs/tools/misc/shadowenv/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/shadowenv/default.nix b/pkgs/tools/misc/shadowenv/default.nix index 79075dcc8a21..a4f8fff4ae20 100644 --- a/pkgs/tools/misc/shadowenv/default.nix +++ b/pkgs/tools/misc/shadowenv/default.nix @@ -2,16 +2,16 @@ rustPlatform.buildRustPackage rec { pname = "shadowenv"; - version = "2.0.5"; + version = "2.0.6"; src = fetchFromGitHub { owner = "Shopify"; repo = pname; rev = version; - sha256 = "sha256-MPky0ZB7yfl/gOPThx1BpRoTgvY7mkLaoqnvGKPvSPo="; + sha256 = "sha256-OfrK5eQ2oJ7ZeUem4PZPE2tsjIObQ+aao6GrtrK8AqA="; }; - cargoSha256 = "sha256-reVw8YkKi+EMDk0Bva2Ugp72VhAYB6axHonkr9Kdos4="; + cargoSha256 = "sha256-gno44ZdLthcp5/+NP12d0C+x1jrmJHNkHSnyuHWl3Zk="; nativeBuildInputs = [ installShellFiles ]; From 29c4f9e8347afeaf93df979a08a15fa08905fd9a Mon Sep 17 00:00:00 2001 From: Ryan Horiguchi Date: Thu, 21 Oct 2021 01:48:08 +0200 Subject: [PATCH 21/27] vscode-extensions.gruntfuggly.todo-tree: 0.0.213 -> 0.0.214 --- pkgs/misc/vscode-extensions/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/vscode-extensions/default.nix b/pkgs/misc/vscode-extensions/default.nix index c000bb71bdd9..7fc03228f60d 100644 --- a/pkgs/misc/vscode-extensions/default.nix +++ b/pkgs/misc/vscode-extensions/default.nix @@ -852,8 +852,8 @@ let mktplcRef = { name = "todo-tree"; publisher = "Gruntfuggly"; - version = "0.0.213"; - sha256 = "0fj7vvaqdldhbzm9dqh2plqlhg34jv5khd690xd87h418sv8rk95"; + version = "0.0.214"; + sha256 = "0rwxjnrl44rnhx3183037k6435xs4772p58a37azl5cahsyav1hk"; }; meta = with lib; { license = licenses.mit; From 0530b5e15f39af1dc874bc5807bbebd85bb2d707 Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Wed, 20 Oct 2021 17:57:23 -0700 Subject: [PATCH 22/27] linuxKernel.kernels.linux_xanmod: 5.14.12 -> 5.14.14 --- pkgs/os-specific/linux/kernel/linux-xanmod.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-xanmod.nix b/pkgs/os-specific/linux/kernel/linux-xanmod.nix index 08ed46bb0d43..52e5b861330f 100644 --- a/pkgs/os-specific/linux/kernel/linux-xanmod.nix +++ b/pkgs/os-specific/linux/kernel/linux-xanmod.nix @@ -1,7 +1,7 @@ { lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args: let - version = "5.14.12"; + version = "5.14.14"; release = "1"; suffix = "xanmod${release}-cacule"; in @@ -13,7 +13,7 @@ buildLinux (args // rec { owner = "xanmod"; repo = "linux"; rev = modDirVersion; - sha256 = "sha256-JVTi319BLHM4CgF7KaN3C/92N4uwh59po1AcOinNpww="; + sha256 = "sha256-/cbTByyV+hYjn9PHSIb6FeKcl6ejbaVG6hj0VXgaHDg="; }; structuredExtraConfig = with lib.kernel; { From d18c23b3551035023a50c5d1afe35a3e2cedc3e6 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 19 Oct 2021 14:02:30 +0800 Subject: [PATCH 23/27] ddcutil: 1.1.0 -> 1.2.0 --- pkgs/tools/misc/ddcutil/default.nix | 52 ++++++++++++++++-------- pkgs/tools/misc/ddcutil/nixos-paths.diff | 30 -------------- 2 files changed, 34 insertions(+), 48 deletions(-) delete mode 100644 pkgs/tools/misc/ddcutil/nixos-paths.diff diff --git a/pkgs/tools/misc/ddcutil/default.nix b/pkgs/tools/misc/ddcutil/default.nix index b1a42f57703f..0deca19a2663 100644 --- a/pkgs/tools/misc/ddcutil/default.nix +++ b/pkgs/tools/misc/ddcutil/default.nix @@ -1,33 +1,49 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config -, glib, i2c-tools, udev, libgudev, libusb1, libdrm, xorg }: +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +, glib +, i2c-tools +, udev +, kmod +, libgudev +, libusb1 +, libdrm +, xorg +}: stdenv.mkDerivation rec { pname = "ddcutil"; - version = "1.1.0"; + version = "1.2.0"; src = fetchFromGitHub { - owner = "rockowitz"; - repo = "ddcutil"; - rev = "v${version}"; - sha256 = "0wv8a8zjahzmi4qx0lc24mwyi3jklj1yxqq26fwklmfh5dv1y8yc"; + owner = "rockowitz"; + repo = "ddcutil"; + rev = "v${version}"; + sha256 = "sha256-MH7WnJgROgLvttQEbd/21mLRFElObp4KINy8RarqkRo="; }; - patches = [ - # Look for kernel modules in /run/booted-system/kernel-modules/lib/modules/* - ./nixos-paths.diff + nativeBuildInputs = [ autoreconfHook pkg-config ]; + + buildInputs = [ + glib + i2c-tools + kmod + libdrm + libgudev + libusb1 + udev + xorg.libXrandr ]; - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ - i2c-tools udev libgudev - glib libusb1 libdrm xorg.libXrandr - ]; + enableParallelBuilding = true; meta = with lib; { - homepage = "http://www.ddcutil.com/"; + homepage = "http://www.ddcutil.com/"; description = "Query and change Linux monitor settings using DDC/CI and USB"; - license = licenses.gpl2; - platforms = platforms.linux; + license = licenses.gpl2; + platforms = platforms.linux; maintainers = with maintainers; [ rnhmjoj ]; }; } diff --git a/pkgs/tools/misc/ddcutil/nixos-paths.diff b/pkgs/tools/misc/ddcutil/nixos-paths.diff deleted file mode 100644 index 54d17ea5bfeb..000000000000 --- a/pkgs/tools/misc/ddcutil/nixos-paths.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- a/src/util/linux_util.c -+++ b/src/util/linux_util.c -@@ -125,6 +125,7 @@ - "lib64", - "lib32", - "usr/lib", // needed for arch? -+ "run/booted-system/kernel-modules/lib", // NixOS - NULL}; - int result = -1; - int ndx = 0; -@@ -204,14 +205,15 @@ - if (debug) - printf("(%s) machine: %s", __func__, utsbuf.machine); - -- char * libdirs[3]; -+ char * libdirs[4]; - libdirs[0] = "lib"; -+ libdirs[1] = "run/booted-system/kernel-modules/lib"; - if (streq(utsbuf.machine, "amd_64")){ -- libdirs[1] = "lib64"; -- libdirs[2] = NULL; -+ libdirs[2] = "lib64"; -+ libdirs[3] = NULL; - } - else -- libdirs[1] = NULL; -+ libdirs[2] = NULL; - - int libsndx = 0; - bool found = false; From cdf77fdf20c90eacca58b7c8f08cb51cae041d2d Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 19 Oct 2021 14:02:42 +0800 Subject: [PATCH 24/27] i2c-tools: 4.2 -> 4.3 --- pkgs/os-specific/linux/i2c-tools/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/i2c-tools/default.nix b/pkgs/os-specific/linux/i2c-tools/default.nix index 5c05ca6082e4..556bc2d89787 100644 --- a/pkgs/os-specific/linux/i2c-tools/default.nix +++ b/pkgs/os-specific/linux/i2c-tools/default.nix @@ -7,19 +7,22 @@ stdenv.mkDerivation rec { pname = "i2c-tools"; - version = "4.2"; + version = "4.3"; src = fetchgit { url = "https://git.kernel.org/pub/scm/utils/i2c-tools/i2c-tools.git"; rev = "v${version}"; - sha256 = "0vqrbp10klr7ylarr6cy1q7nafiqaky4iq5my5dqy101h93vg4pg"; + sha256 = "sha256-HlmIocum+HZEKNiS5BUwEIswRfTMUhD1vCPibAuAK0Q="; }; buildInputs = [ perl ]; postPatch = '' - substituteInPlace eeprom/decode-edid --replace "/usr/sbin/parse-edid" "${read-edid}/bin/parse-edid" - substituteInPlace stub/i2c-stub-from-dump --replace "/sbin/" "" + substituteInPlace eeprom/decode-edid \ + --replace "/usr/sbin/parse-edid" "${read-edid}/bin/parse-edid" + + substituteInPlace stub/i2c-stub-from-dump \ + --replace "/sbin/" "" ''; makeFlags = [ "PREFIX=${placeholder "out"}" ]; @@ -27,7 +30,7 @@ stdenv.mkDerivation rec { outputs = [ "out" "man" ]; postInstall = '' - rm -rf $out/include # Installs include/linux/i2c-dev.h that conflics with kernel headers + rm -rf $out/include/linux/i2c-dev.h # conflics with kernel headers ''; meta = with lib; { From b946e1b666c8ca9d81975883d226fa59295bc8bc Mon Sep 17 00:00:00 2001 From: Vladyslav M Date: Wed, 20 Oct 2021 22:32:41 +0300 Subject: [PATCH 25/27] pijul: 1.0.0-alpha.54 -> 1.0.0-alpha.55 --- pkgs/applications/version-management/pijul/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/version-management/pijul/default.nix b/pkgs/applications/version-management/pijul/default.nix index 14b318abab45..32126c7ce663 100644 --- a/pkgs/applications/version-management/pijul/default.nix +++ b/pkgs/applications/version-management/pijul/default.nix @@ -13,14 +13,14 @@ rustPlatform.buildRustPackage rec { pname = "pijul"; - version = "1.0.0-alpha.54"; + version = "1.0.0-alpha.55"; src = fetchCrate { inherit version pname; - sha256 = "0b9494kwchfds8hk566k3fkwdvcskpgw0ajlrdry9lmmvx3vj7dc"; + sha256 = "sha256-1nnn0cdDe+WOetGtRe7dMEyuCcbfRHdJWFxQ4bTXebQ="; }; - cargoSha256 = "0rgd6mfxbxgzpj2nj2y315kgvxiayr9xbma4j014bc61ms7cnys7"; + cargoSha256 = "sha256-j9xf97qPdhtakIwhAql0/Go5fPxlyWKAVLk5CMBfAbs="; cargoBuildFlags = lib.optional gitImportSupport "--features=git"; From 34ad3ffe08adfca17fcb4e4a47bb5f3b113687be Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sun, 17 Oct 2021 11:34:42 +0200 Subject: [PATCH 26/27] mu: 1.6.6 -> 1.6.7 --- pkgs/tools/networking/mu/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/networking/mu/default.nix b/pkgs/tools/networking/mu/default.nix index 4b9efdc24a60..0d94861da295 100644 --- a/pkgs/tools/networking/mu/default.nix +++ b/pkgs/tools/networking/mu/default.nix @@ -7,13 +7,13 @@ stdenv.mkDerivation rec { pname = "mu"; - version = "1.6.6"; + version = "1.6.7"; src = fetchFromGitHub { owner = "djcb"; repo = "mu"; rev = version; - sha256 = "64TfXPz1NCGKnozI9j+yog+hln1rA/qpzCLvPNSvH+c="; + sha256 = "bhZrottFT5NX43Iz1wFGYzaUSAgvgkhOwNHX6fjUs7M="; }; postPatch = lib.optionalString (batchSize != null) '' From c7266c501ecd3d4a03de9f870ae7b5a5a8ab6ed6 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Wed, 20 Oct 2021 20:59:00 +0200 Subject: [PATCH 27/27] ocamlPackages.ocp-build: fix build --- pkgs/development/tools/ocaml/ocp-build/default.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/tools/ocaml/ocp-build/default.nix b/pkgs/development/tools/ocaml/ocp-build/default.nix index a1d0b76eb1ff..d47d8a5cc31c 100644 --- a/pkgs/development/tools/ocaml/ocp-build/default.nix +++ b/pkgs/development/tools/ocaml/ocp-build/default.nix @@ -4,7 +4,7 @@ let in stdenv.mkDerivation { - name = "ocaml${ocaml.version}-ocp-build-${version}-beta"; + name = "ocaml${ocaml.version}-ocp-build-${version}"; src = fetchFromGitHub { owner = "OCamlPro"; @@ -24,9 +24,6 @@ stdenv.mkDerivation { buildInputs = [ ocaml findlib cmdliner re ]; propagatedBuildInputs = [ ncurses ]; preInstall = "mkdir -p $out/bin"; - preConfigure = '' - export configureFlags="$configureFlags --with-metadir=$OCAMLFIND_DESTDIR" - ''; meta = with lib; { homepage = "https://www.typerex.org/ocp-build.html";