aboutsummaryrefslogtreecommitdiff
path: root/src/host.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-04-26 16:08:26 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-04-26 16:09:20 -0700
commitef987f23559e424ab37199c182d2450aa2d40f76 (patch)
tree623277d81307537948a0a8f316c1e1cffeb3e5e1 /src/host.lisp
parenteb259a86f079f5b91d0926c5c0779636cef49450 (diff)
downloadconsfigurator-ef987f23559e424ab37199c182d2450aa2d40f76.tar.gz
define UNION-PROPSPEC-INTO-HOST for null second argument
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/host.lisp')
-rw-r--r--src/host.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/host.lisp b/src/host.lisp
index 5c8b6e9..35336da 100644
--- a/src/host.lisp
+++ b/src/host.lisp
@@ -111,6 +111,10 @@ Called by properties which set up such subhosts, like CHROOT:OS-BOOTSTRAPPED."
:hostattrs (copy-list (hostattrs host))
:propspec (append-propspecs (host-propspec host) propspec)))
+(defmethod union-propspec-into-host
+ ((host unpreprocessed-host) (propspec null))
+ host)
+
(defmethod replace-propspec-into-host
((host unpreprocessed-host) (propspec unpreprocessed-propspec))
;; we have to preprocess HOST as functions that call us want the return