nixpkgs-suyu/pkgs/development/lisp-modules/builder.lisp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
376 B
Common Lisp
Raw Normal View History

(defpackage :nix-cl-user
(:use :cl))
(in-package :nix-cl-user)
(load "@asdf@")
(defun load-systems ()
(handler-case
(let ((systems (uiop:getenv "systems")))
(dolist (s (uiop:split-string systems :separator " "))
(asdf:load-system s)))
(error (c)
(format t "BUILD FAILED: ~A~%" c)
(uiop:quit 1)))
(uiop:quit 0))
(load-systems)