Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 12:36 AM, zna...@disroot.org wrote: > I want to try to use G-expressions to change 'mom' user shell to dash. > I have this error: > > # guix system reconfigure config-znavko.scm > ... > building > /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-shepherd-user-homes.scm.drv... > building /gn

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 12:11 PM, rendaw wrote: > On 5/4/19 12:36 AM, zna...@disroot.org wrote: >> I want to try to use G-expressions to change 'mom' user shell to dash. >> I have this error: >> >> # guix system reconfigure config-znavko.scm >> ... >> building >> /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-sh

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:48 PM, zna...@disroot.org wrote: > This two equivalents work: > > (shell (file-append dash "/bin/dash")) -- this is advanced guix variant with > new file-append function, this variant does not need (use-modules (guix gexp)) > > (shell #~(string-append #$dash "/bin/dash")) -- this is g

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread znavko
This two equivalents work: (shell (file-append dash "/bin/dash")) -- this is advanced guix variant with new file-append function, this variant does not need (use-modules (guix gexp)) (shell #~(string-append #$dash "/bin/dash")) -- this is guile function string-append and gexp, ungexp functions

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:29 PM, zna...@disroot.org wrote: > I just want to change user shell. So i know how to do it. And you have > cleared a bit for me what is formed object and what is file, and what is > file-append function. > > May 4, 2019 11:24 AM, "rendaw" <7e9wc56emja...@s.rendaw.me> wrote: > >> On 5

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread znavko
I just want to change user shell. So i know how to do it. And you have cleared a bit for me what is formed object and what is file, and what is file-append function. May 4, 2019 11:24 AM, "rendaw" <7e9wc56emja...@s.rendaw.me> wrote: > On 5/4/19 8:19 PM, zna...@disroot.org wrote: > >> (shell #~

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 8:19 PM, zna...@disroot.org wrote: > (shell #~#$dash) -- compiles too, but again: > > bob $ su - mom > Password: > /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: > /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: Is a directory > bob $ > Could you perhaps provide

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread znavko
(shell #~#$dash) -- compiles too, but again: bob $ su - mom Password: /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: /gnu/store/bqmib4vf9mr8dkqx4dqpcqrnb93giwci-dash-0.5.10.2: Is a directory bob $ this works all right: (shell (file-append dash "/bin/dash")) May 4, 2019 11:12 AM,

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread rendaw
On 5/4/19 7:53 PM, zna...@disroot.org wrote: > For $~#$dash it says unbound variable: > > (use-mosules ... >(gnu packages shells) >(guix gexp) >) > ... > (user-account (name "mom") (group "users") >

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-04 Thread znavko
For $~#$dash it says unbound variable: (use-mosules ... (gnu packages shells) (guix gexp) ) ... (user-account (name "mom") (group "users") (supplementary-groups '("wheel" "netdev"

Re: G-Expressions manual. change user shell in guix config.scm

2019-05-03 Thread rendaw
On 5/4/19 12:36 AM, zna...@disroot.org wrote: > I want to try to use G-expressions to change 'mom' user shell to dash. > I have this error: > > # guix system reconfigure config-znavko.scm > ... > building > /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-shepherd-user-homes.scm.drv... > building /gnu/

G-Expressions manual. change user shell in guix config.scm

2019-05-03 Thread znavko
I want to try to use G-expressions to change 'mom' user shell to dash. I have this error: # guix system reconfigure config-znavko.scm ... building /gnu/store/zhmd8fr5v86wnaf6apcz4281c008fjv5-shepherd-user-homes.scm.drv... building /gnu/store/6wnbkfdqy3qmbcjz00d1w5p8mw1rkyaa-shells.drv... /builder