From 77e02b1530b176962a8d81a06677149738d099be Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 26 Jun 2024 08:33:55 -0600 Subject: [PATCH] fix cvs and github links to not include the flavor - also add lsp stuff to the flake --- flake.nix | 2 +- openbsd.app.pl | 12 ++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index b605f50..5ac1e1e 100644 --- a/flake.nix +++ b/flake.nix @@ -43,7 +43,7 @@ nix run github:qbit/xin#flake-warn echo "Perl `${pkgs.perl}/bin/perl --version`" ''; - buildInputs = with pkgs.perlPackages; [ PerlTidy pkgs.sqlite ]; + buildInputs = with pkgs.perlPackages; [ PerlTidy pkgs.sqlite PerlLanguageServer ]; nativeBuildInputs = with pkgs.perlPackages; [ perl Mojolicious diff --git a/openbsd.app.pl b/openbsd.app.pl index 9850253..c7c4859 100755 --- a/openbsd.app.pl +++ b/openbsd.app.pl @@ -404,6 +404,8 @@ __DATA__ title="Dependencies for <%= $info->{FULLPKGNAME} %>" >Dep Tree + % my $clean_name = $info->{FULLPKGPATH}; + % $clean_name =~ s/^(.*),.*$/$1/;
  • CVS Web
  • GitHub
  • @@ -484,6 +486,8 @@ __DATA__ title="Dependencies for <%= $result->{FULLPKGNAME} %>" >Dep Tree + % my $clean_name = $result->{FULLPKGPATH}; + % $clean_name =~ s/^(.*),.*$/$1/;
  • CVS Web
  • GitHub