Skip to content

wrong-type-argument listp error on NixOS when running treemacs-find-ignored-files.py #1172

@ghostlou1043

Description

@ghostlou1043

Description

On NixOS, Treemacs throws a Lisp error when running
treemacs-find-ignored-files.py.

It seems Treemacs assumes a list where a string path is returned,
causing a wrong-type-argument listp error.

Error

Debugger entered--Lisp error: (wrong-type-argument listp /nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh:)
  cdr(/nix/store/rlq03x4cwf8zn73hxaxnx0zn5q9kifls-bash-5.3p3/bin/sh:)
  #f(compiled-function (process status) ...)
  (#<process Pfuture-Callback
    (/etc/profiles/per-user/lou/bin/python3 -O
     ~/.config/emacs/straight/build/treemacs/treemacs-find-ignored-files.py
     git ~/.config/emacs)>
   "finished\n")

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions