Merge pull request #236457 from figsoda/lagrange
lagrange-tui: fix build
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{ stdenv
|
||||
, lib
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, nix-update-script
|
||||
, cmake
|
||||
, pkg-config
|
||||
@@ -26,6 +27,16 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-DpgCxnwkNP2mZNYygxFLMufEijYoLr4qor0DYCmbps8=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# fixes `lagrange-tui`
|
||||
# remove when 1.64.4 comes out
|
||||
(fetchpatch {
|
||||
name = "tui-fixed-build-after-changes-to-text-init.patch";
|
||||
url = "https://github.com/skyjake/lagrange/commit/1c811221acc5b8eb47210fba90dc3a789a093e9b.patch";
|
||||
hash = "sha256-K0njCcEOOYAwo3FI8eBg53Qo8J/iNBqCn3WCKQb0cgk=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config zip ];
|
||||
|
||||
buildInputs = [ the-foundation ]
|
||||
|
||||
Reference in New Issue
Block a user