Skip to content

[BUG][CRASH] perl: command not found #5351

@Ashvith10

Description

@Ashvith10

Version of Kakoune

v2025.06.03

Reproducer

  1. You must be on NixOS or Guix System, or alternatively in other distros, run Nixpkgs or Guix as a third-party package manager, and access kakoune in a pure shell
  2. Go to a sample repository
  3. Access kakoune using:
# for Guix
guix shell kakoune -- kak ./file/to/git-blame.c

# for Nix
nix-shell -p kakoune --run "kak ./file/to/git-blame.c"
  1. Type :git blame

Outcome

It should fail with the message: failed to run git blame, see *debug* buffer. On inspecting :buffer *debug*, we see that perl is missing as a dependency.

Expectations

Other distros include perl in their base and it works, but in Guix and NixOS, it is isolated as a build/native input, and therefore, not accessible to the environment after build. Adding perl as an input should resolve this issue in both the distributions, however it should also be mentioned in the README.md that perl is one of the many dependencies of kakoune.

Additional information

  • Guix System/NixOS
  • It is using the latest stable version
  • As long as Guix/Nixpkgs is installed as a third-party packager in a non-Guix/non-Nix distro, or if you're using NixOS or Guix System

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions