mbox

[bug#38460,0/1] lint: Add '--load-path' option.

Message ID 20191202204759.28329-1-zimon.toutoune@gmail.com
Headers show

Message

Simon Tournier Dec. 2, 2019, 8:47 p.m. UTC
Dear,

Currently, when developing personal packages, "guix lint" needs the variable GUIX_PACKAGE_PATH which is not user friendly, IMO. The patch uses the common option '-L' to prepend a load path.

Other said,

  GUIX_PACKAGE_PATH=/path/to/my/package guix lint foo

becomes

  guix lint -L /path/to/my/package foo


All the best,
simon


zimoun (1):
  lint: Add '--load-path' option.

 guix/scripts/lint.scm |  8 ++++++++
 tests/guix-lint.sh    | 12 ++++++++++++
 2 files changed, 20 insertions(+)