From ae4fd442284c2b047f6bf4e73e7f9cea60f63de4 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 26 Jan 2023 22:12:38 +0100 Subject: [PATCH] paper-note: do not depend on libadwaita 1.2.1 --- pkgs/applications/office/paper-note/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/office/paper-note/default.nix b/pkgs/applications/office/paper-note/default.nix index 1c49499e8034..e400c88df5dd 100644 --- a/pkgs/applications/office/paper-note/default.nix +++ b/pkgs/applications/office/paper-note/default.nix @@ -44,8 +44,9 @@ stdenv.mkDerivation rec { gtksourceview5 ]; - patchPhase = '' - sed -i 's/1.2.0/1.2.1/g' src/meson.build + postPatch = '' + substituteInPlace src/meson.build \ + --replace "1.2.0" "${libadwaita.version}" ''; postInstall = ''