From 84ac7df0a4ece1880769facba66f1a31d525ddae Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 14 Jan 2024 17:30:41 +0000 Subject: [PATCH 1/3] pinentry-bemenu: add 'meta.mainProgram' --- pkgs/tools/security/pinentry-bemenu/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/pinentry-bemenu/default.nix b/pkgs/tools/security/pinentry-bemenu/default.nix index ed43ee3825979..36fff7d34d5cd 100644 --- a/pkgs/tools/security/pinentry-bemenu/default.nix +++ b/pkgs/tools/security/pinentry-bemenu/default.nix @@ -21,5 +21,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ jc ]; platforms = with platforms; linux; + mainProgram = "pinentry-bemenu"; }; } From 1a76b6cc783c01157372e31fbb768a767e5f7580 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 14 Jan 2024 17:30:49 +0000 Subject: [PATCH 2/3] pinentry-rofi: add 'meta.mainProgram' --- pkgs/tools/security/pinentry-rofi/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/pinentry-rofi/default.nix b/pkgs/tools/security/pinentry-rofi/default.nix index a7f92818b8b7c..e0fffff7cedf3 100644 --- a/pkgs/tools/security/pinentry-rofi/default.nix +++ b/pkgs/tools/security/pinentry-rofi/default.nix @@ -37,5 +37,6 @@ stdenv.mkDerivation rec { license = licenses.gpl3Plus; platforms = platforms.unix; maintainers = with maintainers; [ seqizz ]; + mainProgram = "pinentry-rofi"; }; } From ec836290b03ac2eef0e083720a6186894c89ffeb Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 14 Jan 2024 17:31:00 +0000 Subject: [PATCH 3/3] pinentry_mac: add 'meta.mainProgram' --- pkgs/tools/security/pinentry/mac.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/security/pinentry/mac.nix b/pkgs/tools/security/pinentry/mac.nix index d824a816dc908..4620aedecc75b 100644 --- a/pkgs/tools/security/pinentry/mac.nix +++ b/pkgs/tools/security/pinentry/mac.nix @@ -85,5 +85,6 @@ stdenv.mkDerivation rec { license = lib.licenses.gpl2Plus; homepage = "https://github.com/GPGTools/pinentry-mac"; platforms = lib.platforms.darwin; + mainProgram = passthru.binaryPath; }; }