From 3fef4a375d5c4a0bc1a262844cb94841dc57e9c3 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Thu, 9 Sep 2021 06:37:33 -0400 Subject: [PATCH 01/10] linux: 5.10.62 -> 5.10.63 (cherry picked from commit 2262394b585370bfa87c70580f68dd16d33b4436) --- pkgs/os-specific/linux/kernel/linux-5.10.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.10.nix b/pkgs/os-specific/linux/kernel/linux-5.10.nix index b72e2e2c66e..fb79da3e8c1 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.10.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.10.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.10.62"; + version = "5.10.63"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,7 +13,7 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "1cc6z2xzi1s69805jk4f91iarx19v0yyqvssx1f1mc0l9l1db389"; + sha256 = "0bnbkd4vbf43m37wab4zwvcv3wy3ixh4x1zrwlfhi845i21mx88r"; }; kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_5_10 ]; From 582f4b93ef7a03761b73e807abc332170ccf2e80 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Thu, 9 Sep 2021 06:37:54 -0400 Subject: [PATCH 02/10] linux: 5.13.14 -> 5.13.15 (cherry picked from commit 1caac87c555b9a623dba47d621a7d8c8dae609a4) --- pkgs/os-specific/linux/kernel/linux-5.13.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.13.nix b/pkgs/os-specific/linux/kernel/linux-5.13.nix index d02a23c0c74..12900c6dec4 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.13.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.13.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.13.14"; + version = "5.13.15"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,7 +13,7 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "06lbjsbr86qa8yai5gfclbfxvcqsw33kxj9b4r93hh6z1wajmx82"; + sha256 = "06v2jgzq2l56bjbymcrnaybqvvr1q44c0k534v77b3l5bwwlq2rk"; }; kernelTests = args.kernelTests or [ nixosTests.kernel-generic.linux_5_13 ]; From a79fc9eb0740964bebd49e5be392fc627673c9be Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Thu, 9 Sep 2021 06:38:05 -0400 Subject: [PATCH 03/10] linux: 5.14.1 -> 5.14.2 (cherry picked from commit af1cc206a2018de2022a15166f06d8f3948d8456) --- pkgs/os-specific/linux/kernel/linux-5.14.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-5.14.nix b/pkgs/os-specific/linux/kernel/linux-5.14.nix index a16b35f55cb..95f232e68f0 100644 --- a/pkgs/os-specific/linux/kernel/linux-5.14.nix +++ b/pkgs/os-specific/linux/kernel/linux-5.14.nix @@ -3,7 +3,7 @@ with lib; buildLinux (args // rec { - version = "5.14.1"; + version = "5.14.2"; # modDirVersion needs to be x.y.z, will automatically add .0 if needed modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg; @@ -13,6 +13,6 @@ buildLinux (args // rec { src = fetchurl { url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz"; - sha256 = "1iq8s031fviccc4710biwl7gxqdimm3nhlvxd0m3fykvhhmcanq0"; + sha256 = "05yw3i2c21dabdn5khyk60ds4h8krg5iyxk4zq1msv0igdfqf6gl"; }; } // (args.argsOverride or { })) From 21c1c063dabc31acfff13e0e8f824288c976849b Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Thu, 2 Sep 2021 14:24:20 +0200 Subject: [PATCH 04/10] nixUnstable: 2.4pre20210802_47e96bb -> 2.4pre20210908_3c56f62 Main motivation for is the bugfix regarding flake-follows and path-inputs[1]. An overview over all changes - mostly bugfixes - can be found on GitHub[2]. [1] https://github.com/NixOS/nix/pull/4641 [2] https://github.com/NixOS/nix/compare/47e96bb...3c56f62093601143838af923195f630d8ffae2d4 (cherry picked from commit 04b552c32312e8067ab5e3948513ce4624f35c4d) --- pkgs/tools/package-management/nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/package-management/nix/default.nix b/pkgs/tools/package-management/nix/default.nix index f9a476f6be6..ad2fe6bb97b 100644 --- a/pkgs/tools/package-management/nix/default.nix +++ b/pkgs/tools/package-management/nix/default.nix @@ -228,13 +228,13 @@ in rec { nixUnstable = lib.lowPrio (callPackage common rec { pname = "nix"; version = "2.4${suffix}"; - suffix = "pre20210802_47e96bb"; + suffix = "pre20210908_${lib.substring 0 7 src.rev}"; src = fetchFromGitHub { owner = "NixOS"; repo = "nix"; - rev = "47e96bb533f8cacc171bec9b688b134de31a48a9"; - sha256 = "sha256-vwj1fAGn3Pl9Vr/qSL+oDxuwbRzEdI3dsEg6o3xTmWg="; + rev = "3c56f62093601143838af923195f630d8ffae2d4"; + sha256 = "sha256-pjdzLOEt8i1NQe4drLpp8+LrRd2MgsISSQEsMebz2kc="; }; boehmgc = boehmgc_nixUnstable; From d9f651a0d2a065e4c557d95e50795c1e12e6dedd Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Fri, 10 Sep 2021 05:20:08 -0400 Subject: [PATCH 05/10] linux/hardened/patches/5.10: 5.10.62-hardened1 -> 5.10.63-hardened1 (cherry picked from commit 3fe64b3728a4beeaa53542375d1d7793517baab1) --- pkgs/os-specific/linux/kernel/hardened/patches.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 5da3676a1c8..6a87f0e482a 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -13,9 +13,9 @@ }, "5.10": { "extra": "-hardened1", - "name": "linux-hardened-5.10.62-hardened1.patch", - "sha256": "0xdj9mp0ccilj06pb8my5jqw47xwc2fk7f2ck36g4bzsp669nisj", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.62-hardened1/linux-hardened-5.10.62-hardened1.patch" + "name": "linux-hardened-5.10.63-hardened1.patch", + "sha256": "1v1w6ybfkgqisdprny9bb658443hbld86r96cvzqdkmd8wfh4513", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.10.63-hardened1/linux-hardened-5.10.63-hardened1.patch" }, "5.13": { "extra": "-hardened1", From 1309fb071c3106ce5ec190c1f962a5df3dee674d Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Fri, 10 Sep 2021 05:20:09 -0400 Subject: [PATCH 06/10] linux/hardened/patches/5.13: 5.13.14-hardened1 -> 5.13.15-hardened1 (cherry picked from commit 02b5c3b291cbf69867122862debca8521388ad39) --- pkgs/os-specific/linux/kernel/hardened/patches.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 6a87f0e482a..0bd1799ccc0 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -19,9 +19,9 @@ }, "5.13": { "extra": "-hardened1", - "name": "linux-hardened-5.13.14-hardened1.patch", - "sha256": "00lmqq10d66s1852q1j2m8cj90bb0gfpsg617bc7f3pm2v6iyl93", - "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.13.14-hardened1/linux-hardened-5.13.14-hardened1.patch" + "name": "linux-hardened-5.13.15-hardened1.patch", + "sha256": "1g75jh5j9qbh4wbiy2wnc982i2gld2845ai47rczcj7ciycba8n7", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.13.15-hardened1/linux-hardened-5.13.15-hardened1.patch" }, "5.4": { "extra": "-hardened1", From 075f63990969d0c79fcf7fde61791cea5be62c54 Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Fri, 10 Sep 2021 05:20:10 -0400 Subject: [PATCH 07/10] linux/hardened/patches/5.14: init at 5.14.2-hardened1 (cherry picked from commit 820d68d2dc5eacc10f199f7903301ee577f44a52) --- pkgs/os-specific/linux/kernel/hardened/patches.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/hardened/patches.json b/pkgs/os-specific/linux/kernel/hardened/patches.json index 0bd1799ccc0..70a180e737e 100644 --- a/pkgs/os-specific/linux/kernel/hardened/patches.json +++ b/pkgs/os-specific/linux/kernel/hardened/patches.json @@ -23,6 +23,12 @@ "sha256": "1g75jh5j9qbh4wbiy2wnc982i2gld2845ai47rczcj7ciycba8n7", "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.13.15-hardened1/linux-hardened-5.13.15-hardened1.patch" }, + "5.14": { + "extra": "-hardened1", + "name": "linux-hardened-5.14.2-hardened1.patch", + "sha256": "0hcw61bavhyr9v621ajsrl2zgz7kc0z8r7p5kzm37dnlggwl4qh3", + "url": "https://github.com/anthraxx/linux-hardened/releases/download/5.14.2-hardened1/linux-hardened-5.14.2-hardened1.patch" + }, "5.4": { "extra": "-hardened1", "name": "linux-hardened-5.4.144-hardened1.patch", From ad6e478766e2a26fd08e70a65364ce179523fd4b Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 11 Sep 2021 13:56:43 +0100 Subject: [PATCH 08/10] qt514.qt3d: fix upstream URL hydra can't build qt514.qt3d binary as it fails to fetch the tarball from outdated source from: https://download.qt.io/official_releases/qt/ as it only contains `5.12`, `5.15`, `6.0` and `6.2`. `/archive` still has the releases: https://download.qt.io/archive/qt/5.14/5.14.2/submodules/ Let's use those instead. (cherry picked from commit 042119cadebeea9034aa517b46d8ef4fd359a087) --- pkgs/development/libraries/qt-5/5.14/fetch.sh | 2 +- pkgs/development/libraries/qt-5/5.14/srcs.nix | 84 +++++++++---------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/pkgs/development/libraries/qt-5/5.14/fetch.sh b/pkgs/development/libraries/qt-5/5.14/fetch.sh index e4e02bd82ed..ca0073afbbb 100644 --- a/pkgs/development/libraries/qt-5/5.14/fetch.sh +++ b/pkgs/development/libraries/qt-5/5.14/fetch.sh @@ -1,2 +1,2 @@ -WGET_ARGS=( http://download.qt.io/official_releases/qt/5.14/5.14.2/submodules/ \ +WGET_ARGS=( https://download.qt.io/archive/qt/5.14/5.14.2/submodules/ \ -A '*.tar.xz' ) diff --git a/pkgs/development/libraries/qt-5/5.14/srcs.nix b/pkgs/development/libraries/qt-5/5.14/srcs.nix index 6ac958442f4..b5b6eb1a32c 100644 --- a/pkgs/development/libraries/qt-5/5.14/srcs.nix +++ b/pkgs/development/libraries/qt-5/5.14/srcs.nix @@ -6,7 +6,7 @@ qt3d = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qt3d-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qt3d-everywhere-src-5.14.2.tar.xz"; sha256 = "9da82f1cc4b7d416d31ec96224c59d221473a48f6e579eef978f7d2e3932c674"; name = "qt3d-everywhere-src-5.14.2.tar.xz"; }; @@ -14,7 +14,7 @@ qtactiveqt = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtactiveqt-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtactiveqt-everywhere-src-5.14.2.tar.xz"; sha256 = "b53517d5d128719773a2941ba52da10acd7aa3149948862bc08c98f5b64152a9"; name = "qtactiveqt-everywhere-src-5.14.2.tar.xz"; }; @@ -22,7 +22,7 @@ qtandroidextras = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtandroidextras-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtandroidextras-everywhere-src-5.14.2.tar.xz"; sha256 = "4a8fd92b5c49a663cf0bd492804eaf1574d11137e2cbdd41d6bf5fad0c3c4d76"; name = "qtandroidextras-everywhere-src-5.14.2.tar.xz"; }; @@ -30,7 +30,7 @@ qtbase = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtbase-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtbase-everywhere-src-5.14.2.tar.xz"; sha256 = "48b9e79220941665a9dd827548c6428f7aa3052ccba8f4f7e039a94aa1d2b28a"; name = "qtbase-everywhere-src-5.14.2.tar.xz"; }; @@ -38,7 +38,7 @@ qtcharts = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtcharts-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtcharts-everywhere-src-5.14.2.tar.xz"; sha256 = "adb25203ea748d886cc3d8993c20def702115eccea311594592058134ba83bb7"; name = "qtcharts-everywhere-src-5.14.2.tar.xz"; }; @@ -46,7 +46,7 @@ qtconnectivity = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtconnectivity-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtconnectivity-everywhere-src-5.14.2.tar.xz"; sha256 = "abe67b3e3a775e2a2e27c62a5391f37007ffbe72bce58b96116995616cfcbc28"; name = "qtconnectivity-everywhere-src-5.14.2.tar.xz"; }; @@ -54,7 +54,7 @@ qtdatavis3d = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtdatavis3d-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtdatavis3d-everywhere-src-5.14.2.tar.xz"; sha256 = "723c03db2d2805b1be4ca534ac7bc867a1a21894d33a7e9261a382f3fa9d0e20"; name = "qtdatavis3d-everywhere-src-5.14.2.tar.xz"; }; @@ -62,7 +62,7 @@ qtdeclarative = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtdeclarative-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtdeclarative-everywhere-src-5.14.2.tar.xz"; sha256 = "a3c4617adc9760347c93d2eb6c25d22f620cd22f44afa0494eb499a805831650"; name = "qtdeclarative-everywhere-src-5.14.2.tar.xz"; }; @@ -70,7 +70,7 @@ qtdoc = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtdoc-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtdoc-everywhere-src-5.14.2.tar.xz"; sha256 = "5a55cdb55af35eb222d06179567851c175f24a3732f7dee5be073df4a893172b"; name = "qtdoc-everywhere-src-5.14.2.tar.xz"; }; @@ -78,7 +78,7 @@ qtgamepad = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtgamepad-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtgamepad-everywhere-src-5.14.2.tar.xz"; sha256 = "f77daadb4755cf760e11812264259fb103396fd1b06df1e06b5df162081c8d03"; name = "qtgamepad-everywhere-src-5.14.2.tar.xz"; }; @@ -86,7 +86,7 @@ qtgraphicaleffects = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtgraphicaleffects-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtgraphicaleffects-everywhere-src-5.14.2.tar.xz"; sha256 = "487a7f858244a08264363733055a8cf8b00e77c658c5608cc462817d15e4b50f"; name = "qtgraphicaleffects-everywhere-src-5.14.2.tar.xz"; }; @@ -94,7 +94,7 @@ qtimageformats = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtimageformats-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtimageformats-everywhere-src-5.14.2.tar.xz"; sha256 = "733eca0165c15e046b106039c989dac7f6bc2ecf215396d965ed065369264f8c"; name = "qtimageformats-everywhere-src-5.14.2.tar.xz"; }; @@ -102,7 +102,7 @@ qtlocation = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtlocation-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtlocation-everywhere-src-5.14.2.tar.xz"; sha256 = "c37708bc396f6dac397b49a6a268d5edb39e1c8296ca2337ce9e80bde04775cc"; name = "qtlocation-everywhere-src-5.14.2.tar.xz"; }; @@ -110,7 +110,7 @@ qtlottie = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtlottie-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtlottie-everywhere-src-5.14.2.tar.xz"; sha256 = "55d1392dc92cbec11263084360075dc5fc3fdc25c1969adfbdec84299b285978"; name = "qtlottie-everywhere-src-5.14.2.tar.xz"; }; @@ -118,7 +118,7 @@ qtmacextras = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtmacextras-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtmacextras-everywhere-src-5.14.2.tar.xz"; sha256 = "d12587b46c84a7822194fc3ccf46f7c18ff3b31566d3dde4f5fe772f1d8776e5"; name = "qtmacextras-everywhere-src-5.14.2.tar.xz"; }; @@ -126,7 +126,7 @@ qtmultimedia = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtmultimedia-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtmultimedia-everywhere-src-5.14.2.tar.xz"; sha256 = "7acd8ede6835314206e407b35b668f0add67544577fb51fe67afb03137fb9fe9"; name = "qtmultimedia-everywhere-src-5.14.2.tar.xz"; }; @@ -134,7 +134,7 @@ qtnetworkauth = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtnetworkauth-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtnetworkauth-everywhere-src-5.14.2.tar.xz"; sha256 = "4f00513dd18598487d02187b80b54c669662cf8a8f2573858c7f9282d7b9265e"; name = "qtnetworkauth-everywhere-src-5.14.2.tar.xz"; }; @@ -142,7 +142,7 @@ qtpurchasing = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtpurchasing-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtpurchasing-everywhere-src-5.14.2.tar.xz"; sha256 = "69b087001e8fcec5bb49ca333d5f44e6b7eb09f76421dc792fc9cd76dee9e851"; name = "qtpurchasing-everywhere-src-5.14.2.tar.xz"; }; @@ -150,7 +150,7 @@ qtquick3d = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtquick3d-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtquick3d-everywhere-src-5.14.2.tar.xz"; sha256 = "0640696d501f2b0bf57f64e98f30bfa3e1cc19c11c0e05e43d4fdb0d20488b2e"; name = "qtquick3d-everywhere-src-5.14.2.tar.xz"; }; @@ -158,7 +158,7 @@ qtquickcontrols = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtquickcontrols-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtquickcontrols-everywhere-src-5.14.2.tar.xz"; sha256 = "d55def1dd4ee1250bd6a4e76849f4e362368b6411c2216d5f669c761216d4461"; name = "qtquickcontrols-everywhere-src-5.14.2.tar.xz"; }; @@ -166,7 +166,7 @@ qtquickcontrols2 = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtquickcontrols2-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtquickcontrols2-everywhere-src-5.14.2.tar.xz"; sha256 = "faf7d349d8f4a8db36cd3c62a5724bcf689300f2fdb7dc1ea034392aab981560"; name = "qtquickcontrols2-everywhere-src-5.14.2.tar.xz"; }; @@ -174,7 +174,7 @@ qtquicktimeline = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtquicktimeline-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtquicktimeline-everywhere-src-5.14.2.tar.xz"; sha256 = "83a45d0998cbc77f8094854a477ab1ac0838ae7fd822563d995df40149893a9e"; name = "qtquicktimeline-everywhere-src-5.14.2.tar.xz"; }; @@ -182,7 +182,7 @@ qtremoteobjects = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtremoteobjects-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtremoteobjects-everywhere-src-5.14.2.tar.xz"; sha256 = "a6a601c4f4aab6fe41a462dae57033819f697e3317240a382cee45c08be614d6"; name = "qtremoteobjects-everywhere-src-5.14.2.tar.xz"; }; @@ -190,7 +190,7 @@ qtscript = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtscript-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtscript-everywhere-src-5.14.2.tar.xz"; sha256 = "e9fd487ccb3cbf00e86b0b803aa79e9f6bbe7a337b8e97d069e040c3e0789bfe"; name = "qtscript-everywhere-src-5.14.2.tar.xz"; }; @@ -198,7 +198,7 @@ qtscxml = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtscxml-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtscxml-everywhere-src-5.14.2.tar.xz"; sha256 = "030cea352a56074f577200f967ef37c959b2767127de61f766f59b0d99763790"; name = "qtscxml-everywhere-src-5.14.2.tar.xz"; }; @@ -206,7 +206,7 @@ qtsensors = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtsensors-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtsensors-everywhere-src-5.14.2.tar.xz"; sha256 = "bccfca6910b0383d8f65823496ff5011abed2fa8fd446b4b27333d0fd7bb8c61"; name = "qtsensors-everywhere-src-5.14.2.tar.xz"; }; @@ -214,7 +214,7 @@ qtserialbus = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtserialbus-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtserialbus-everywhere-src-5.14.2.tar.xz"; sha256 = "0b7762175a649a40c4dd619c5de61d772235dc86099343278e2c3229d0836a91"; name = "qtserialbus-everywhere-src-5.14.2.tar.xz"; }; @@ -222,7 +222,7 @@ qtserialport = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtserialport-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtserialport-everywhere-src-5.14.2.tar.xz"; sha256 = "a6d977dd723ad4d3368b5163691405b8852f809974a96ec54103494e834aea21"; name = "qtserialport-everywhere-src-5.14.2.tar.xz"; }; @@ -230,7 +230,7 @@ qtspeech = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtspeech-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtspeech-everywhere-src-5.14.2.tar.xz"; sha256 = "5e9e8ea62f0207ba894df1e136df0af9fc5443c7817d28c39f0ea2bbae9ec6da"; name = "qtspeech-everywhere-src-5.14.2.tar.xz"; }; @@ -238,7 +238,7 @@ qtsvg = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtsvg-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtsvg-everywhere-src-5.14.2.tar.xz"; sha256 = "c7d7faa01a3e7a6e4d38fafcec5529a488258218749779e6fa0e09a21173b5a1"; name = "qtsvg-everywhere-src-5.14.2.tar.xz"; }; @@ -246,7 +246,7 @@ qttools = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qttools-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qttools-everywhere-src-5.14.2.tar.xz"; sha256 = "5bb0cf7832b88eb6bc9d4289f98307eb14b16a453ad6cf42cca13c4fe1a053c5"; name = "qttools-everywhere-src-5.14.2.tar.xz"; }; @@ -254,7 +254,7 @@ qttranslations = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qttranslations-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qttranslations-everywhere-src-5.14.2.tar.xz"; sha256 = "2088ebee9f5dd0336c9fd11436899a95b7ce0141ce072290de1e8f315d82d1a6"; name = "qttranslations-everywhere-src-5.14.2.tar.xz"; }; @@ -262,7 +262,7 @@ qtvirtualkeyboard = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtvirtualkeyboard-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtvirtualkeyboard-everywhere-src-5.14.2.tar.xz"; sha256 = "364f3338563e617e7c964a37170b415b546c5f82965e781271f9dada3e3868d7"; name = "qtvirtualkeyboard-everywhere-src-5.14.2.tar.xz"; }; @@ -270,7 +270,7 @@ qtwayland = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwayland-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwayland-everywhere-src-5.14.2.tar.xz"; sha256 = "d31633ca718fb407cf70870613d45d0ed80aa04c058586ac3036bae1aff7832a"; name = "qtwayland-everywhere-src-5.14.2.tar.xz"; }; @@ -278,7 +278,7 @@ qtwebchannel = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwebchannel-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwebchannel-everywhere-src-5.14.2.tar.xz"; sha256 = "7d1dc8441523638c3d455c7d408ec65aebc073acab80e24063865f929231f874"; name = "qtwebchannel-everywhere-src-5.14.2.tar.xz"; }; @@ -286,7 +286,7 @@ qtwebengine = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwebengine-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwebengine-everywhere-src-5.14.2.tar.xz"; sha256 = "e169d6a75d8c397e04f843bc1b9585950fb9a001255cd18d6293f66fa8a6c947"; name = "qtwebengine-everywhere-src-5.14.2.tar.xz"; }; @@ -294,7 +294,7 @@ qtwebglplugin = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwebglplugin-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwebglplugin-everywhere-src-5.14.2.tar.xz"; sha256 = "eb4118910b65d03d8448658ac1646e860d337e59b82d6575beda21824e313417"; name = "qtwebglplugin-everywhere-src-5.14.2.tar.xz"; }; @@ -302,7 +302,7 @@ qtwebsockets = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwebsockets-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwebsockets-everywhere-src-5.14.2.tar.xz"; sha256 = "f06e62b18313fe1b40a35566e79645de4a8e7ac9f7717d1d98a06c5b49afca84"; name = "qtwebsockets-everywhere-src-5.14.2.tar.xz"; }; @@ -310,7 +310,7 @@ qtwebview = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwebview-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwebview-everywhere-src-5.14.2.tar.xz"; sha256 = "c61f9213ee84fd7408898c0194468208ffb51af9d257e87e6b53daf24f65ff4b"; name = "qtwebview-everywhere-src-5.14.2.tar.xz"; }; @@ -318,7 +318,7 @@ qtwinextras = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtwinextras-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtwinextras-everywhere-src-5.14.2.tar.xz"; sha256 = "980f1bc31b37c8597c0bac55f69ecf00d1677218ce82f7bc3933236cb6d907f2"; name = "qtwinextras-everywhere-src-5.14.2.tar.xz"; }; @@ -326,7 +326,7 @@ qtx11extras = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtx11extras-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtx11extras-everywhere-src-5.14.2.tar.xz"; sha256 = "be9a84a03a2ee81771215264e5dff7a996d04be6192b8cdaa1d41e319a81545a"; name = "qtx11extras-everywhere-src-5.14.2.tar.xz"; }; @@ -334,7 +334,7 @@ qtxmlpatterns = { version = "5.14.2"; src = fetchurl { - url = "${mirror}/official_releases/qt/5.14/5.14.2/submodules/qtxmlpatterns-everywhere-src-5.14.2.tar.xz"; + url = "${mirror}/archive/qt/5.14/5.14.2/submodules/qtxmlpatterns-everywhere-src-5.14.2.tar.xz"; sha256 = "219a876665345e3801baff71f31f30f5495c1cb9ab23fbbd27602632c80fcfb7"; name = "qtxmlpatterns-everywhere-src-5.14.2.tar.xz"; }; From caef9da135788053a6d0f997be932f275d141aa8 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Sun, 12 Sep 2021 11:52:17 +0200 Subject: [PATCH 09/10] wiki-js: 2.5.201 -> 2.5.214 ChangeLog: https://github.com/Requarks/wiki/releases/tag/2.5.214 (cherry picked from commit 75eaccdcbc79f908902638bbea4aef33ebdad712) --- pkgs/servers/web-apps/wiki-js/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/web-apps/wiki-js/default.nix b/pkgs/servers/web-apps/wiki-js/default.nix index fcab309118b..c16f3a88b37 100644 --- a/pkgs/servers/web-apps/wiki-js/default.nix +++ b/pkgs/servers/web-apps/wiki-js/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "wiki-js"; - version = "2.5.201"; + version = "2.5.214"; src = fetchurl { url = "https://github.com/Requarks/wiki/releases/download/${version}/${pname}.tar.gz"; - sha256 = "sha256-k2G+jUne/lq0dRJsIQpWlRFg1Nq92bM28YkawKOKlsI="; + sha256 = "sha256-EXysHhEJ41LMLRueEoFr+SE9SdJEXMZLhJQSvZgToTg="; }; sourceRoot = "."; From f69c32ec212f2a467e61a52e820bb836260e17d0 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Wed, 25 Aug 2021 22:17:17 -0700 Subject: [PATCH 10/10] nixos/promtail: Allow write access to positions file if not in CacheDirectory Because of `ProtectSystem=strict`, Promtail cannot write to the positions file if it's not in its `CacheDirectory` (the default value). (cherry picked from commit b6ad701a2c6bf619fa9418a8e27c4940ce921456) --- nixos/modules/services/logging/promtail.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/modules/services/logging/promtail.nix b/nixos/modules/services/logging/promtail.nix index 34211687dc1..95c83796ece 100644 --- a/nixos/modules/services/logging/promtail.nix +++ b/nixos/modules/services/logging/promtail.nix @@ -7,6 +7,9 @@ let ''; allowSystemdJournal = cfg.configuration ? scrape_configs && lib.any (v: v ? journal) cfg.configuration.scrape_configs; + + allowPositionsFile = !lib.hasPrefix "/var/cache/promtail" positionsFile; + positionsFile = cfg.configuration.positions.filename; in { options.services.promtail = with types; { enable = mkEnableOption "the Promtail ingresser"; @@ -53,6 +56,7 @@ in { RestrictSUIDSGID = true; PrivateMounts = true; CacheDirectory = "promtail"; + ReadWritePaths = lib.optional allowPositionsFile (builtins.dirOf positionsFile); User = "promtail"; Group = "promtail";