From 2e4ddbd2fa97563e08107e1c63016e6b9ef37d16 Mon Sep 17 00:00:00 2001 From: Stefan Frijters Date: Mon, 23 Mar 2026 17:14:45 +0100 Subject: [PATCH] polylith: use structuredAttrs instead of passAsFile --- pkgs/by-name/po/polylith/package.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/po/polylith/package.nix b/pkgs/by-name/po/polylith/package.nix index 0f0a92dc6abf..d642bd72b287 100644 --- a/pkgs/by-name/po/polylith/package.nix +++ b/pkgs/by-name/po/polylith/package.nix @@ -17,7 +17,6 @@ stdenv.mkDerivation (finalAttrs: { dontUnpack = true; - passAsFile = [ "polyWrapper" ]; polyWrapper = '' #!${runtimeShell} ARGS="" @@ -32,7 +31,7 @@ stdenv.mkDerivation (finalAttrs: { runHook preInstall mkdir -p $out/bin - cp "$polyWrapperPath" $out/bin/poly + printf "%s" "$polyWrapper" > $out/bin/poly chmod a+x $out/bin/poly runHook postInstall @@ -47,6 +46,8 @@ stdenv.mkDerivation (finalAttrs: { runHook postInstallCheck ''; + __structuredAttrs = true; + meta = { description = "Tool used to develop Polylith based architectures in Clojure"; mainProgram = "poly";