diff options
Diffstat (limited to 'gnu/machine.scm')
| -rw-r--r-- | gnu/machine.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/machine.scm b/gnu/machine.scm index 05b03b21d49..b342fe21440 100644 --- a/gnu/machine.scm +++ b/gnu/machine.scm | |||
| @@ -93,11 +93,16 @@ | |||
| 93 | make-machine | 93 | make-machine |
| 94 | machine? | 94 | machine? |
| 95 | this-machine | 95 | this-machine |
| 96 | (operating-system machine-operating-system) ; <operating-system> | 96 | (operating-system %machine-operating-system); <operating-system> |
| 97 | (environment machine-environment) ; symbol | 97 | (environment machine-environment) ; symbol |
| 98 | (configuration machine-configuration ; configuration object | 98 | (configuration machine-configuration ; configuration object |
| 99 | (default #f))) ; specific to environment | 99 | (default #f))) ; specific to environment |
| 100 | 100 | ||
| 101 | (define (machine-operating-system machine) | ||
| 102 | "Return the operating system of MACHINE." | ||
| 103 | (operating-system-with-provenance | ||
| 104 | (%machine-operating-system machine))) | ||
| 105 | |||
| 101 | (define (machine-display-name machine) | 106 | (define (machine-display-name machine) |
| 102 | "Return the host-name identifying MACHINE." | 107 | "Return the host-name identifying MACHINE." |
| 103 | (operating-system-host-name (machine-operating-system machine))) | 108 | (operating-system-host-name (machine-operating-system machine))) |
