picolisp: fix help functionality

Currently, trying to use help results in something like this:

```
: (help 'db)
========================================
w3m: Can't exec
=======================================
```

By including `w3m` as an input, the behaviour changes to:

```
: (help 'db)
========================================
(db 'sym 'cls ['hook] 'any ['sym 'any ..]) -> sym | NIL
Returns a database object of class cls, where the values for the sym arguments
correspond to the any arguments. If a matching object cannot be found, NIL is
returned. sym, cls and hook should specify a tree for cls or one of its
superclasses. See also aux, collect, request, fetch, init and step.

========================================
-> db
```
wip/yesman
Yurii Rashkovskii 5 years ago
parent e0818a1530
commit 6278dbf8c4
No known key found for this signature in database
GPG Key ID: 1D60D7CFD80845FF
  1. 3
      pkgs/development/interpreters/picolisp/default.nix

@ -1,4 +1,4 @@
{ stdenv, fetchurl, jdk, makeWrapper }:
{ stdenv, fetchurl, jdk, w3m, makeWrapper }:
with stdenv.lib;
stdenv.mkDerivation rec {
@ -33,6 +33,7 @@ stdenv.mkDerivation rec {
makeWrapper $out/bin/picolisp $out/bin/pil \
--prefix PATH : ${w3m}/bin \
--add-flags "$out/lib/picolisp/lib.l" \
--add-flags "@lib/misc.l" \
--add-flags "@lib/btree.l" \

Loading…
Cancel
Save