From dca0557584d68537baf3d3178c5a3d08a2c0e1a5 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 24 Nov 2023 10:59:41 +0300 Subject: [PATCH] pkgs/foot-transparent: set mainProgram to omit nixpkgs warnings --- pkgs/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/default.nix b/pkgs/default.nix index a51bd7c..117522e 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -41,12 +41,9 @@ # patched packages foot-transparent = foot.overrideAttrs (prev: { - patches = - (prev.patches or []) - ++ [ - ../patches/0001-foot-transparent.patch - ]; mesonFlags = prev.mesonFlags ++ ["-Dfullscreen_alpha=true"]; + mainProgram = "foot"; + patches = (prev.patches or []) ++ [../patches/0001-foot-transparent.patch]; }); }; };