[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Install doc + templates overhaul
From: |
Pierre Neidhardt |
Subject: |
Re: Install doc + templates overhaul |
Date: |
Mon, 21 Jan 2019 22:08:01 +0100 |
User-agent: |
mu4e 1.0; emacs 26.1 |
I'm trying to set the default for user. Here is the record from
installer/user.scm:
--8<---------------cut here---------------start------------->8---
(define-record-type* <user>
user make-user
user?
(name user-name)
(group user-group
(default "users"))
(home-directory user-home-directory))
--8<---------------cut here---------------end--------------->8---
The following does not work:
--8<---------------cut here---------------start------------->8---
(define-record-type* <user>
user make-user
user?
(name user-name)
(group user-group
(default "users"))
(home-directory user-home-directory
(default (string-append "/home/" name))))
--8<---------------cut here---------------end--------------->8---
The define-record-type* does not seem to allow the record field initialization
to refer to itself.
Is there a way around it?
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Install doc + templates overhaul, Pierre Neidhardt, 2019/01/19
- Re: Install doc + templates overhaul, Ludovic Courtès, 2019/01/21
- Re: Install doc + templates overhaul, Pierre Neidhardt, 2019/01/21
- ‘nss-certs’ missing in the installation image, Ludovic Courtès, 2019/01/22
- Re: ‘nss-certs’ missing in the installation image, Pierre Neidhardt, 2019/01/22
- Re: ‘nss-certs’ missing in the installation image, Giovanni Biscuolo, 2019/01/23
- Re: ‘nss-certs’ missing in the installation image, Pierre Neidhardt, 2019/01/23
- Re: ‘nss-certs’ missing in the installation image, Ludovic Courtès, 2019/01/23
- Re: ‘nss-certs’ missing in the installation image, Pierre Neidhardt, 2019/01/23
- Re: ‘nss-certs’ missing in the installation image, swedebugia, 2019/01/23
- Re: ‘nss-certs’ missing in the installation image, Pierre Neidhardt, 2019/01/26
- Re: ‘nss-certs’ missing in the installation image, Amin Bandali, 2019/01/26