We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8dd5e75 commit 0148d8eCopy full SHA for 0148d8e
pkgs/development/tools/symfony-cli/default.nix
@@ -4,6 +4,8 @@
4
, nix-update-script
5
, testers
6
, symfony-cli
7
+, nssTools
8
+, makeBinaryWrapper
9
}:
10
11
buildGoModule rec {
@@ -25,8 +27,14 @@ buildGoModule rec {
25
27
"-X main.channel=stable"
26
28
];
29
30
+ buildInputs = [ makeBinaryWrapper ];
31
+
32
postInstall = ''
- mv $out/bin/symfony-cli $out/bin/symfony
33
+ mkdir $out/libexec
34
+ mv $out/bin/symfony-cli $out/libexec/symfony
35
36
+ makeBinaryWrapper $out/libexec/symfony $out/bin/symfony \
37
+ --prefix PATH : ${lib.makeBinPath [ nssTools ]}
38
'';
39
40
# Tests requires network access
0 commit comments