diff options
author | Mathieu Othacehe <othacehe@gnu.org> | 2020-07-02 12:01:53 +0200 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2020-07-02 13:19:30 +0200 |
commit | 214874e820d08871673006a98220de51a3593feb (patch) | |
tree | ed758ad0e854fd34c6f80c4ff1c6274c06504726 /gnu/local.mk | |
parent | 4be969fb7e79b4c033be3c04dc9b2508f4868c95 (diff) | |
download | guix-214874e820d08871673006a98220de51a3593feb.tar guix-214874e820d08871673006a98220de51a3593feb.tar.gz |
Fix build without SSH support.
* gnu/local.mk (GNU_SYSTEM_MODULES): Only include
gnu/machine/digital-ocean.scm and gnu/machine/ssh.scm if HAVE_GUILE_SSH is
set.
Diffstat (limited to 'gnu/local.mk')
-rw-r--r-- | gnu/local.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index 5e9dba5ab7..deece17539 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -637,8 +637,6 @@ GNU_SYSTEM_MODULES = \ %D%/system/images/hurd.scm \ \ %D%/machine.scm \ - %D%/machine/digital-ocean.scm \ - %D%/machine/ssh.scm \ \ %D%/build/accounts.scm \ %D%/build/activation.scm \ @@ -716,6 +714,14 @@ INSTALLER_MODULES = \ %D%/installer/newt/welcome.scm \ %D%/installer/newt/wifi.scm +if HAVE_GUILE_SSH + +GNU_SYSTEM_MODULES += \ + %D%/machine/digital-ocean.scm \ + %D%/machine/ssh.scm + +endif HAVE_GUILE_SSH + # Always ship the installer modules but compile them only when # ENABLE_INSTALLER is true. if ENABLE_INSTALLER |