perlPackages.PLS: shorten shebang on Darwin
As it's too long to be correctly executed.
This commit is contained in:
parent
66cb200860
commit
316e4a4ca1
1 changed files with 4 additions and 0 deletions
|
@ -18200,6 +18200,10 @@ let
|
|||
sha256 = "0278anidj7bgassj32g20cbki2kkqakkr3axyq4k90nj4snw7p6x";
|
||||
};
|
||||
propagatedBuildInputs = [ Future IOAsync PPI PPR PathTiny PerlCritic PerlTidy PodMarkdown URI ];
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/pls
|
||||
'';
|
||||
meta = {
|
||||
homepage = "https://github.com/FractalBoy/perl-language-server";
|
||||
description = "Perl Language Server";
|
||||
|
|
Loading…
Reference in a new issue