mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
appimageupdate: fix build
This commit is contained in:
parent
861dd08ccf
commit
b5c8a42a07
1 changed files with 9 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
cmake,
|
||||
pkg-config,
|
||||
qt5,
|
||||
|
@ -27,6 +28,14 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
hash = "sha256-b2RqSw0Ksn9OLxQV9+3reBiqrty+Kx9OwV93jlvuPnY=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "include-algorithm-header.patch";
|
||||
url = "https://github.com/AppImageCommunity/AppImageUpdate/commit/5e91de84aba775ba8d3a4771e4f7f06056f9b764.patch";
|
||||
hash = "sha256-RX2HFAlGsEjXona7cL3WdwwiiA0u9CnfvHMC6S0DeLY=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail 'VERSION 1-alpha' 'VERSION ${finalAttrs.version}' \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue