mate-panel-with-applets: use structuredAttrs instead of passAsFile (#502698)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user