Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-27 Thread Maxime Devos
David Dashyan schreef op di 27-04-2021 om 20:03 [+0300]: > > Hello, Maxime! > > > No, it is not supposed to work! Only guix/build/... and > > gnu/build/utils/... (and maybe others I forgot) are supposed to be > > imported, so source-module-closure excludes other modules. The reason > > is that

Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-27 Thread David Dashyan
Hello, Maxime! > No, it is not supposed to work! Only guix/build/... and > gnu/build/utils/... (and maybe others I forgot) are supposed to be > imported, so source-module-closure excludes other modules. The reason > is that gnu/packages/*.scm are supposed to be changeable without > causing a

Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-25 Thread Maxime Devos
David Dashyan schreef op ma 12-04-2021 om 12:48 [+0300]: > Hello Guix! > > I've been having lots of fun with derivations and gexps lately :) > > There are couple of quirks I stumbled upon and I'm not sure whether It's > a bug or I'm doing weird things. > > Take a look at this snippet: > > (defi

Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-17 Thread David Dashyan
Oh you so nice :) Joshua Branson writes: > David Dashyan writes: > > I'm just responding so that you get a response. :) > > Your last email had some pretty cool code bro! It certainly looks like > you're having fun with guix! -- David aka zzappie

Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-16 Thread Joshua Branson
David Dashyan writes: I'm just responding so that you get a response. :) Your last email had some pretty cool code bro! It certainly looks like you're having fun with guix! > Hello Guix! > > My update on this. > > So I though of a dirty hack... > > (define guix-patches > (package > (inh

Re: Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-13 Thread David Dashyan
Hello Guix! My update on this. So I though of a dirty hack... (define guix-patches (package (inherit guix) (name "guix-patches") (build-system copy-build-system) (arguments '(#:install-plan '(("gnu/packages/patches/" "share/guile/site/3.0/gnu/packages/patc

Bug? Importing (gnu rest ...) fails due to lack of patch files on build side.

2021-04-12 Thread David Dashyan
Hello Guix! I've been having lots of fun with derivations and gexps lately :) There are couple of quirks I stumbled upon and I'm not sure whether It's a bug or I'm doing weird things. Take a look at this snippet: (define select? (match-lambda (('guix 'config) #f) (('guix rest ..