mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
symfony-cli: add nssTools as a runtime dependency
This commit is contained in:
parent
8dd5e75e35
commit
0148d8e4d2
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue