Flake: add nixpkgs patches
This commit is contained in:
parent
64b4a1b6cb
commit
6d6dab1764
3 changed files with 66 additions and 0 deletions
|
|
@ -95,6 +95,8 @@
|
|||
src = nixpkgs-unstable-raw;
|
||||
patches = [
|
||||
./nixpkgs-patches/handheld-daemon-ui-init.patch
|
||||
./nixpkgs-patches/fix-cemu.patch
|
||||
./nixpkgs-patches/fix-delta.patch
|
||||
];
|
||||
};
|
||||
nixpkgs-patched = nixpkgs-raw.legacyPackages.x86_64-linux.applyPatches {
|
||||
|
|
|
|||
30
nixpkgs-patches/fix-cemu.patch
Normal file
30
nixpkgs-patches/fix-cemu.patch
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
From e01163e1ddcf90ecd57a5ea271979c6a68890d61 Mon Sep 17 00:00:00 2001
|
||||
From: Reno Dakota <170618376+paparodeo@users.noreply.github.com>
|
||||
Date: Fri, 16 Aug 2024 03:21:07 +0000
|
||||
Subject: [PATCH] cemu: move glslang to buildInputs
|
||||
|
||||
fix build perhaps after change 9b7f1a3913168bc9b9c070dbc9720dad1d06b49c
|
||||
---
|
||||
pkgs/by-name/ce/cemu/package.nix | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pkgs/by-name/ce/cemu/package.nix b/pkgs/by-name/ce/cemu/package.nix
|
||||
index ad70bc9c79f9d76..a9808577c9c0258 100644
|
||||
--- a/pkgs/by-name/ce/cemu/package.nix
|
||||
+++ b/pkgs/by-name/ce/cemu/package.nix
|
||||
@@ -69,7 +69,6 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
addDriverRunpath
|
||||
wrapGAppsHook3
|
||||
cmake
|
||||
- glslang
|
||||
nasm
|
||||
ninja
|
||||
pkg-config
|
||||
@@ -83,6 +82,7 @@ in stdenv.mkDerivation (finalAttrs: {
|
||||
curl
|
||||
fmt_9
|
||||
glm
|
||||
+ glslang
|
||||
gtk3
|
||||
hidapi
|
||||
imgui'
|
||||
34
nixpkgs-patches/fix-delta.patch
Normal file
34
nixpkgs-patches/fix-delta.patch
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
From 01bcd715f54030bb3fb20e4c63b0795c2cfd821e Mon Sep 17 00:00:00 2001
|
||||
From: zowoq <59103226+zowoq@users.noreply.github.com>
|
||||
Date: Thu, 15 Aug 2024 19:20:26 +1000
|
||||
Subject: [PATCH] delta: 0.17.0 -> 0.17.0-unstable-2024-08-12
|
||||
|
||||
---
|
||||
pkgs/applications/version-management/delta/default.nix | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/pkgs/applications/version-management/delta/default.nix b/pkgs/applications/version-management/delta/default.nix
|
||||
index 40f474f2c4c1de1..1547632119fd412 100644
|
||||
--- a/pkgs/applications/version-management/delta/default.nix
|
||||
+++ b/pkgs/applications/version-management/delta/default.nix
|
||||
@@ -11,16 +11,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "delta";
|
||||
- version = "0.17.0";
|
||||
+ version = "0.17.0-unstable-2024-08-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "dandavison";
|
||||
repo = pname;
|
||||
- rev = version;
|
||||
- hash = "sha256-r0ED9o2UP91fe6Bng5ioJra5S1bg+UEXMLeSQPkMswI=";
|
||||
+ rev = "a01141b72001f4c630d77cf5274267d7638851e4";
|
||||
+ hash = "sha256-My51pQw5a2Y2VTu39MmnjGfmCavg8pFqOmOntUildS0=";
|
||||
};
|
||||
|
||||
- cargoHash = "sha256-3CxRNhcjfDK/xUuM3w+GwqE0+X6WT92/LGj/qRp0TwA=";
|
||||
+ cargoHash = "sha256-Rlc3Bc6Jh89KLLEWBWQB5GjoeIuHnwIVZN/MVFMjY24=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
Loading…
Add table
Add a link
Reference in a new issue