Unverified Commit 898447d6 authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

mate-panel-with-applets: use structuredAttrs instead of passAsFile (#502698)

parents d3a738f1 45e5bee3
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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;
}