mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
9e860e41eb
From https://github.com/Uthar/nix-cl Commit ebeb76057abf01029067f1ebe0ae6fae90848bfe
19 lines
376 B
Common Lisp
19 lines
376 B
Common Lisp
(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)
|