From e3cf54408754eaf4c801ed057d8d75ebc58efe45 Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 15 Nov 2022 10:26:35 +0300 Subject: [PATCH] krunner-pass: fix cmake configuration --- pkgs/tools/security/krunner-pass/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/security/krunner-pass/default.nix b/pkgs/tools/security/krunner-pass/default.nix index a9f2c241d21..032840b7d33 100644 --- a/pkgs/tools/security/krunner-pass/default.nix +++ b/pkgs/tools/security/krunner-pass/default.nix @@ -42,8 +42,12 @@ mkDerivation rec { ''-DNIXPKGS_PASS=\"${lib.getBin pass}/bin/pass\"'' ]; - # there are *lots* of pointless warnings in v1.3.0 - cmakeFlags = [ "-Wno-dev" ]; + cmakeFlags = [ + # there are *lots* of pointless warnings in v1.3.0 + "-Wno-dev" + # required for kf5auth to work correctly + "-DCMAKE_POLICY_DEFAULT_CMP0012=NEW" + ]; meta = with lib; { description = "Integrates krunner with pass the unix standard password manager (https://www.passwordstore.org/)";