feat(3p/lisp/sclf): build using buildLisp

Adding the default.nix is quite straightforward, however we have to make
today's SBCL happy: due to package locking it no longer likes sclf using
an sb-impl internal constant for some reason. This is however a good
opportunity to clean up the stat-*-time code: It converted the times in
an implementation specific way even though time.lisp does provide a
generic way to convert between unix and universal time. Note that the
updated ASDF file is untested, but should be a trivial enough change.

Change-Id: If193bf830ac704cc53e0855d8e9fff2b5a5ef291
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3268
Tested-by: BuildkiteCI
Reviewed-by: grfn <grfn@gws.fyi>
This commit is contained in:
sterni 2021-08-02 15:14:25 +02:00
parent a5dbd0f5d9
commit 2e08324484
7 changed files with 45 additions and 11 deletions

View file

@ -1,6 +1,7 @@
;;; sclf.asd --- system definition
;;; Copyright (C) 2005, 2006, 2008, 2009 by Walter C. Pelissero
;;; Copyright (C) 2021 by the TVL Authors
;;; Author: Walter C. Pelissero <walter@pelissero.de>
;;; Project: SCLF
@ -44,8 +45,8 @@ uses, too small to fit anywhere else."
(:file "sclf" :depends-on ("package"))
(:file "sysproc" :depends-on ("package" "sclf"))
(:file "lazy" :depends-on ("package" "sclf"))
(:file "directory" :depends-on ("package" "sclf"))
(:file "time" :depends-on ("package" "sclf"))
(:file "directory" :depends-on ("package" "sclf" "time"))
(:file "serial" :depends-on ("package" "sclf"))
(:module "mp"
:depends-on ("package" "sclf")