diff options
author | Charles-Édouard Coste <charles-edouard@coste.dev> | 2024-01-06 22:45:09 +0100 |
---|---|---|
committer | Charles-Édouard Coste <charles-edouard@coste.dev> | 2024-01-07 16:34:02 +0100 |
commit | 0148d8e4d299a930efe8022282b339dfef9bcf52 (patch) | |
tree | 6edfc9cd94e4921c8c6a57dbc6999e833a8f5d0a | |
parent | 8dd5e75e354951161a67a15d9bf45a3cde3e628d (diff) |
symfony-cli: add nssTools as a runtime dependency
-rw-r--r-- | pkgs/development/tools/symfony-cli/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/tools/symfony-cli/default.nix b/pkgs/development/tools/symfony-cli/default.nix index 1f42222779c85..7dbf5f6397471 100644 --- a/pkgs/development/tools/symfony-cli/default.nix +++ b/pkgs/development/tools/symfony-cli/default.nix @@ -4,6 +4,8 @@ , nix-update-script , testers , symfony-cli +, nssTools +, makeBinaryWrapper }: buildGoModule rec { @@ -25,8 +27,14 @@ buildGoModule rec { "-X main.channel=stable" ]; + buildInputs = [ makeBinaryWrapper ]; + postInstall = '' - mv $out/bin/symfony-cli $out/bin/symfony + mkdir $out/libexec + mv $out/bin/symfony-cli $out/libexec/symfony + + makeBinaryWrapper $out/libexec/symfony $out/bin/symfony \ + --prefix PATH : ${lib.makeBinPath [ nssTools ]} ''; # Tests requires network access |