···145 { # Ensure that pam_systemd gets included. This is special-cased
146 # in systemd to provide XDG_RUNTIME_DIR.
147 startSession = true;
0000148 };
149150 # Some overrides to upstream units.
···145 { # Ensure that pam_systemd gets included. This is special-cased
146 # in systemd to provide XDG_RUNTIME_DIR.
147 startSession = true;
148+ # Disable pam_mount in systemd-user to prevent it from being called
149+ # multiple times during login, because it will prevent pam_mount from
150+ # unmounting the previously mounted volumes.
151+ pamMount = false;
152 };
153154 # Some overrides to upstream units.
···50 "-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
51 "-Ddemos=false" # Don't build and install the demo programs
52 "-Dd3d11=disabled" # Disable the Direct3D 11 based renderer
0053 ];
5455 meta = with lib; {
···50 "-Dvulkan-registry=${vulkan-headers}/share/vulkan/registry/vk.xml"
51 "-Ddemos=false" # Don't build and install the demo programs
52 "-Dd3d11=disabled" # Disable the Direct3D 11 based renderer
53+ ] ++ lib.optionals stdenv.isDarwin [
54+ "-Dunwind=disabled" # libplacebo doesn’t build with `darwin.libunwind`
55 ];
5657 meta = with lib; {
···1diff --git a/tests/debug/session.py b/tests/debug/session.py
2-index 101492fc..4ee7cfbe 100644
3--- a/tests/debug/session.py
4+++ b/tests/debug/session.py
5-@@ -630,6 +630,7 @@ class Session(object):
6 if "PYTHONPATH" in self.config.env:
7 # If specified, launcher will use it in lieu of PYTHONPATH it inherited
8 # from the adapter when spawning debuggee, so we need to adjust again.
···1diff --git a/tests/debug/session.py b/tests/debug/session.py
2+index af242877..30b21a1e 100644
3--- a/tests/debug/session.py
4+++ b/tests/debug/session.py
5+@@ -622,6 +622,7 @@ class Session(object):
6 if "PYTHONPATH" in self.config.env:
7 # If specified, launcher will use it in lieu of PYTHONPATH it inherited
8 # from the adapter when spawning debuggee, so we need to adjust again.
···3with lib;
45buildLinux (args // rec {
6- version = "5.10.131";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16- sha256 = "1ki11mvl3dky7iih90znr47vr66dxnlwrqwg2jkk1hqn5i243i4b";
17 };
18} // (args.argsOverride or {}))
···3with lib;
45buildLinux (args // rec {
6+ version = "5.10.132";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "0aps3kglzw480ps9agw1k3zn8ipibwkrx13kzijfl7g0xqqsj1bx";
17 };
18} // (args.argsOverride or {}))
+2-2
pkgs/os-specific/linux/kernel/linux-5.15.nix
···3with lib;
45buildLinux (args // rec {
6- version = "5.15.55";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16- sha256 = "1k7x7fp675wglfd357n7hjidnm3j8zj3gcymyazg6fkcid8bvxhy";
17 };
18} // (args.argsOverride or { }))
···3with lib;
45buildLinux (args // rec {
6+ version = "5.15.56";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "08w2kgc0v0ld7nxbary7d9fr2vxrsmqby7l4fhf7njgi6wsbp9p9";
17 };
18} // (args.argsOverride or { }))
+2-2
pkgs/os-specific/linux/kernel/linux-5.18.nix
···3with lib;
45buildLinux (args // rec {
6- version = "5.18.12";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16- sha256 = "09wmgfrnv1df6jg9v3svwhvnxl0j6h4f240p903xlmgj884lvds0";
17 };
18} // (args.argsOverride or { }))
···3with lib;
45buildLinux (args // rec {
6+ version = "5.18.13";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "1nkb4wl2v2pflqnfgmas1pmkr8wm14lm1c8py9sa5k1gwvzil3j3";
17 };
18} // (args.argsOverride or { }))
+2-2
pkgs/os-specific/linux/kernel/linux-5.4.nix
···3with lib;
45buildLinux (args // rec {
6- version = "5.4.206";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16- sha256 = "1asvc7y1f938icspxx39n6y6r0w9mp0k9vik84rsx1hzzv0db41c";
17 };
18} // (args.argsOverride or {}))
···3with lib;
45buildLinux (args // rec {
6+ version = "5.4.207";
78 # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9 modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
···1314 src = fetchurl {
15 url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "1wwpd26qhv6i00p0yxjisns6qiz9bfrxvn1xb4ylwr8ls7zyx78v";
17 };
18} // (args.argsOverride or {}))
+2-2
pkgs/os-specific/linux/kernel/linux-testing.nix
···3with lib;
45buildLinux (args // rec {
6- version = "5.15-rc6";
7 extraMeta.branch = lib.versions.majorMinor version;
89 # modDirVersion needs to be x.y.z, will always add .0
···1112 src = fetchurl {
13 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
14- sha256 = "1lp3jqwsbd97k3bx4crs8rc2wssyaf0v8x4kl4zv7g7ww2kkg2ii";
15 };
1617 # Should the testing kernels ever be built on Hydra?
···3with lib;
45buildLinux (args // rec {
6+ version = "5.19-rc5";
7 extraMeta.branch = lib.versions.majorMinor version;
89 # modDirVersion needs to be x.y.z, will always add .0
···1112 src = fetchurl {
13 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
14+ sha256 = "sha256-eqBbQBZaqexgx6m3jAoU/0HWAdHbAuT3slZWMZhrht0=";
15 };
1617 # Should the testing kernels ever be built on Hydra?
+2-1
pkgs/os-specific/linux/kernel/manual-config.nix
···114 patches =
115 map (p: p.patch) kernelPatches
116 # Required for deterministic builds along with some postPatch magic.
117- ++ optional (lib.versionAtLeast version "4.13") ./randstruct-provide-seed.patch
0118 # Fixes determinism by normalizing metadata for the archive of kheaders
119 ++ optional (lib.versionAtLeast version "5.2" && lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch;
120
···114 patches =
115 map (p: p.patch) kernelPatches
116 # Required for deterministic builds along with some postPatch magic.
117+ ++ optional (lib.versionAtLeast version "4.13" && lib.versionOlder version "5.19") ./randstruct-provide-seed.patch
118+ ++ optional (lib.versionAtLeast version "5.19") ./randstruct-provide-seed-5.19.patch
119 # Fixes determinism by normalizing metadata for the archive of kheaders
120 ++ optional (lib.versionAtLeast version "5.2" && lib.versionOlder version "5.4") ./gen-kheaders-metadata.patch;
121
···2, fetchFromGitHub
3, cmake
4, pkg-config
05, python3
6, vulkan-headers
7, vulkan-loader
···63 cmake
64 pkg-config
65 python3
0066 ];
6768 # Tests are disabled so we do not have to pull in googletest and more dependencies
···2, fetchFromGitHub
3, cmake
4, pkg-config
5+, cctools
6, python3
7, vulkan-headers
8, vulkan-loader
···64 cmake
65 pkg-config
66 python3
67+ ] ++ lib.optionals stdenv.isDarwin [
68+ cctools
69 ];
7071 # Tests are disabled so we do not have to pull in googletest and more dependencies
···919920 ### N ###
9210922 nccl = throw "nccl has been renamed to cudaPackages.nccl"; # Added 2022-04-04
923 nccl_cudatoolkit_10 = throw "nccl_cudatoolkit_10 has been renamed to cudaPackages_10.nccl"; # Added 2022-04-04
924 nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04
···919920 ### N ###
921922+ ncdu_2 = ncdu; # Added 2022-07-22
923 nccl = throw "nccl has been renamed to cudaPackages.nccl"; # Added 2022-04-04
924 nccl_cudatoolkit_10 = throw "nccl_cudatoolkit_10 has been renamed to cudaPackages_10.nccl"; # Added 2022-04-04
925 nccl_cudatoolkit_11 = throw "nccl_cudatoolkit_11 has been renamed to cudaPackages_11.nccl"; # Added 2022-04-04