Flake: add nixpkgs patches

This commit is contained in:
Toast 2025-09-26 00:01:11 +02:00
parent 8fdeb93bc5
commit 57125b4bf8
3 changed files with 72 additions and 0 deletions

View file

@ -101,6 +101,8 @@
src = nixpkgs-unstable-raw; src = nixpkgs-unstable-raw;
patches = [ patches = [
./nixpkgs-patches/plasma-workspace-patch-trimming.patch ./nixpkgs-patches/plasma-workspace-patch-trimming.patch
./nixpkgs-patches/pr441705.patch
./nixpkgs-patches/pr442482.patch
]; ];
}; };
nixpkgs-patched = nixpkgs-raw.legacyPackages.x86_64-linux.applyPatches { nixpkgs-patched = nixpkgs-raw.legacyPackages.x86_64-linux.applyPatches {

View file

@ -0,0 +1,35 @@
From 9cde39ee9db16f4b3cb63b4416377277b7c293b6 Mon Sep 17 00:00:00 2001
From: Robert Helgesson <robert@rycee.net>
Date: Wed, 10 Sep 2025 10:11:56 +0200
Subject: [PATCH] sd-switch: 0.6.0 -> 0.6.1
---
pkgs/by-name/sd/sd-switch/package.nix | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/by-name/sd/sd-switch/package.nix b/pkgs/by-name/sd/sd-switch/package.nix
index 72eebfbef61002..f7e4f1a9a01a61 100644
--- a/pkgs/by-name/sd/sd-switch/package.nix
+++ b/pkgs/by-name/sd/sd-switch/package.nix
@@ -6,7 +6,7 @@
}:
let
- version = "0.6.0";
+ version = "0.6.1";
in
rustPlatform.buildRustPackage {
pname = "sd-switch";
@@ -16,10 +16,10 @@ rustPlatform.buildRustPackage {
owner = "~rycee";
repo = "sd-switch";
rev = version;
- hash = "sha256-IZ2tyQzWa2Uk002P9jCiaIV3huRiFdTe8eYXVQPBBJI=";
+ hash = "sha256-2Zdgwov+a35OzH6pzXbgxxABI8GDO9z068gLpmE2Jk4=";
};
- cargoHash = "sha256-ExQPCA8sAZVE5uB1KUnq6PXGhG1IZjzM9eFwYW3oJtE=";
+ cargoHash = "sha256-At0qo9w+/8sk9BnaZiG870iO8KLkhg2E40VCzQvvPWk=";
passthru = {
updateScript = nix-update-script { };

View file

@ -0,0 +1,35 @@
From ede83dc17a58d6e846a0125c87dd18dc3abfe2a5 Mon Sep 17 00:00:00 2001
From: Robert Helgesson <robert@rycee.net>
Date: Fri, 12 Sep 2025 23:25:31 +0200
Subject: [PATCH] sd-switch: 0.6.1 -> 0.6.2
---
pkgs/by-name/sd/sd-switch/package.nix | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pkgs/by-name/sd/sd-switch/package.nix b/pkgs/by-name/sd/sd-switch/package.nix
index f7e4f1a9a01a61..85ae7e1c0e3552 100644
--- a/pkgs/by-name/sd/sd-switch/package.nix
+++ b/pkgs/by-name/sd/sd-switch/package.nix
@@ -6,7 +6,7 @@
}:
let
- version = "0.6.1";
+ version = "0.6.2";
in
rustPlatform.buildRustPackage {
pname = "sd-switch";
@@ -16,10 +16,10 @@ rustPlatform.buildRustPackage {
owner = "~rycee";
repo = "sd-switch";
rev = version;
- hash = "sha256-2Zdgwov+a35OzH6pzXbgxxABI8GDO9z068gLpmE2Jk4=";
+ hash = "sha256-3+FGARca3xcCYKEAxtrhnSnpOP2JZurOPzKvNhAYjkg=";
};
- cargoHash = "sha256-At0qo9w+/8sk9BnaZiG870iO8KLkhg2E40VCzQvvPWk=";
+ cargoHash = "sha256-jclRF05eUAW/ggCmfZfWE6c4q25d/WGX0dad4rsP8vk=";
passthru = {
updateScript = nix-update-script { };