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; }