diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/backup/pika-backup/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/backup/pika-backup/default.nix b/pkgs/applications/backup/pika-backup/default.nix index e0b8b2fca14f..604456c6583a 100644 --- a/pkgs/applications/backup/pika-backup/default.nix +++ b/pkgs/applications/backup/pika-backup/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitLab +, fetchpatch , rustPlatform , substituteAll , desktop-file-utils @@ -40,6 +41,13 @@ stdenv.mkDerivation rec { src = ./borg-path.patch; borg = "${borgbackup}/bin/borg"; }) + # Fix build with meson 0.61, can be removed on next release. + # https://gitlab.gnome.org/World/pika-backup/-/issues/156 + # https://github.com/mesonbuild/meson/issues/9441 + (fetchpatch { + url = "https://gitlab.gnome.org/World/pika-backup/-/commit/54be149c88fd69fb9e74b7362fe7182863237869.patch"; + sha256 = "sha256-Tffxo5hlf/gSkp1GfyL4eHthX49tuTq6B+S53N8oA2M="; + }) ]; postPatch = '' @@ -73,5 +81,6 @@ stdenv.mkDerivation rec { changelog = "https://gitlab.gnome.org/World/pika-backup/-/blob/v${version}/CHANGELOG.md"; license = licenses.gpl3Plus; maintainers = with maintainers; [ dotlambda ]; + platforms = platforms.linux; }; } |