From 45e5bee34b4aa723760d26736ad3208a3035cc6b Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 23 Mar 2026 17:05:29 +0100 Subject: [PATCH] mate-panel-with-applets: use structuredAttrs instead of passAsFile --- pkgs/by-name/ma/mate-panel-with-applets/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/ma/mate-panel-with-applets/package.nix b/pkgs/by-name/ma/mate-panel-with-applets/package.nix index f82cecaef779..b782364e3a79 100644 --- a/pkgs/by-name/ma/mate-panel-with-applets/package.nix +++ b/pkgs/by-name/ma/mate-panel-with-applets/package.nix @@ -43,7 +43,6 @@ stdenv.mkDerivation { mate-panel.man ] ++ selectedApplets; - passAsFile = [ "paths" ]; nativeBuildInputs = [ glib @@ -68,7 +67,7 @@ stdenv.mkDerivation { runHook preInstall mkdir -p $out - for i in $(cat $pathsPath); do + for i in "''${paths[@]}"; do ${lndir}/bin/lndir -silent $i $out done @@ -84,5 +83,7 @@ stdenv.mkDerivation { ) ''; + __structuredAttrs = true; + inherit (mate-panel) meta; }