diff options
author | Pavel Borzenkov <pavel@borzenkov.net> | 2022-03-29 16:57:25 +0200 |
---|---|---|
committer | Pavel Borzenkov <pavel@borzenkov.net> | 2022-03-29 16:57:25 +0200 |
commit | 316e4a4ca184512a1620baf014452c97bc11b025 (patch) | |
tree | 3a1401065ccbfe7c6fdb3b1b3272ed2defe1932f /pkgs/top-level/perl-packages.nix | |
parent | 66cb200860e0e399460e9c18b8e79b05b0375fe7 (diff) | |
download | nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar.gz nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar.bz2 nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar.lz nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar.xz nixlib-316e4a4ca184512a1620baf014452c97bc11b025.tar.zst nixlib-316e4a4ca184512a1620baf014452c97bc11b025.zip |
perlPackages.PLS: shorten shebang on Darwin
As it's too long to be correctly executed.
Diffstat (limited to 'pkgs/top-level/perl-packages.nix')
-rw-r--r-- | pkgs/top-level/perl-packages.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index ee7ee26b9842..24cce7be3a55 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -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"; |