Unverified Commit d2362002 authored by Nikolay Korotkiy's avatar Nikolay Korotkiy
Browse files

lagrange-tui: fix build

parent ccb5cea4
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, nix-update-script
, cmake
, pkg-config
@@ -26,6 +27,14 @@ stdenv.mkDerivation (finalAttrs: {
    hash = "sha256-x80le9/mkL57NQGgmqAdbixYGxcoKKO3Rl+BlpOzTwc=";
  };

  patches = [
    # Remove on next release
    (fetchpatch {
      url = "https://github.com/skyjake/lagrange/commit/e8295f0065e8ecddab2e291e420098ac7981e0a9.patch";
      hash = "sha256-s8Ryace6DOjw4C4h1Kb2ti5oygvsAAs/MF9pC3eQbAM=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config zip ];

  buildInputs = [ the-foundation ]