From d40fb8811a56bab650ee266c6c6e956857a928c7 Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Wed, 27 Sep 2023 03:00:11 +0800 Subject: [PATCH] caprine: remove redundant mainProgram specification Remove per-system meta.mainProgram specification. So far, both Linux and Darwin version of Caprine names its executable `caprine`. Use `caprine` as the default mainProgam. Systems added in the future could override this with custom meta attributes. --- .../instant-messengers/caprine-bin/build-from-appimage.nix | 1 - .../networking/instant-messengers/caprine-bin/build-from-dmg.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix b/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix index 4194f4c22887..104f39f4460b 100644 --- a/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix +++ b/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-appimage.nix @@ -43,6 +43,5 @@ in meta = metaCommon // { platforms = [ "x86_64-linux" ]; - mainProgram = "caprine"; }; }) diff --git a/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix b/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix index 3dc457c48826..6a53bba026c5 100644 --- a/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix +++ b/pkgs/applications/networking/instant-messengers/caprine-bin/build-from-dmg.nix @@ -30,6 +30,5 @@ stdenvNoCC.mkDerivation { meta = metaCommon // { platforms = with lib.platforms; darwin; - mainProgram = "caprine"; }; }