Skip to content

Commit

Permalink
Fixes for bump 20231007-1 (#375)
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroHLC authored Oct 7, 2023
1 parent 9d9bb19 commit e01ac79
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
8 changes: 0 additions & 8 deletions pkgs/telegram-desktop-git/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ gitOverride {

postOverride = prevAttrs: {
buildInputs = prevAttrs.buildInputs ++ (with final; [ kf6coreaddons_git ]);
postPatch = prevAttrs.postPatch + ''
(cd Telegram/ThirdParty/libprisma && \
patch -p1 < ${final.fetchpatch {
url = "https://github.com/desktop-app/libprisma/commit/b9a1ed1a1918b700eb3d140f5047f4f7533421c2.patch";
hash = "sha256-3mFQipw7ZH8Usj/38bnXtmVNaGuXrI4VRs8FQ7wbUoI=";
}} \
)
'';
postFixup = ''
qtWrapperArgs+=(
--prefix LD_LIBRARY_PATH : "${final.glib_git.out}/lib"
Expand Down
6 changes: 5 additions & 1 deletion pkgs/vulkan-versioned/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ final.lib.makeScope final.newScope (self:
key = "vulkanLoader";
owner = "KhronosGroup";
repo = "Vulkan-Loader";
extraAttrs = prevAttrs: { meta = prevAttrs.meta // { broken = false; }; };
extraAttrs = prevAttrs: {
meta = prevAttrs.meta // { broken = false; };
patches = [ ./fix-pkgconfig.patch ] ++
(nyxUtils.removeByBaseName "fix-pkgconfig.patch" prevAttrs.patches);
};
};

vulkan-tools = genericOverride {
Expand Down
11 changes: 11 additions & 0 deletions pkgs/vulkan-versioned/fix-pkgconfig.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
diff --git a/loader/vulkan.pc.in b/loader/vulkan.pc.in
index 16b0ded..6f725cc 100644
--- a/loader/vulkan.pc.in
+++ b/loader/vulkan.pc.in
@@ -1,4 +1,5 @@
Name: Vulkan-Loader
Description: Vulkan Loader
Version: @VULKAN_LOADER_VERSION@
-Libs: -L@CMAKE_INSTALL_LIBDIR_PC@ -lvulkan@VULKAN_LIB_SUFFIX@
+Libs: -L@CMAKE_INSTALL_LIBDIR@ -lvulkan@VULKAN_LIB_SUFFIX@
+Cflags: -I@CMAKE_INSTALL_INCLUDEDIR@
8 changes: 4 additions & 4 deletions pkgs/vulkan-versioned/latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"hash": "sha256-YlCf2XCL+qagrmRww87nhHIefLWC1T9HyySCc9yNYX0="
},
"vulkanValidationLayers": {
"version": "1.3.267",
"rev": "v#{version}",
"hash": "sha256-aiuTEYot/Cywq8WnGQYhiqzkL6DEMoOMuSsaDO+DwM0=",
"badTag": "v1.3.266"
"version": "1.3.261.1",
"rev": "sdk-#{version}",
"hash": "sha256-RuRNOJIMG1Tsm6TA2ltOkqm0E4OkeeDIH07TS/b4HGQ=",
"badTag": "v1.3.267"
}
}

1 comment on commit e01ac79

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All packages were built and cached successfully! (86 not suitable for building)

Please sign in to comment.