Re: Trying to define a package

2018-04-03 Thread Arnaud B
Well I just tried, reading that it's doable, according to section 4.2 of the manual. ​So I added ​one line right after (build-system gnu-build-system) : (arguments '(#:phases (modify-phases %standard-phases (delete 'configure And logically the outcome changed : phase `unpack' succeeded after

Re: Trying to define a package

2018-04-03 Thread Arnaud B
OK I wrongly assumed that the 3 bash packages, being listed in the system packages, did not need to be explicitly installed in order to be used by (gnu build system). So now i've corrected that and they're in my user path. arnaud@brix ~$ guix package --search-paths export PATH="/home/arnaud/.guix-p

Re: Trying to define a package

2018-04-03 Thread Thomas Sigurdsen
Haha, I see that I added bash because I misread the error and someone mentioned bash was needed. Bash is not needed. You can delete the input for bash both the use-module and the native-input bit. Be careful of matching parenthesis. On Tue, 3 Apr 2018 21:27:16 +0200 Thomas Sigurdsen wrote: > Hi

Re: Trying to define a package

2018-04-03 Thread Thomas Sigurdsen
Hi Arnaud. Had a look at your package, it does not have the configure script where build-system gnu is expecting. I couldn't see it anywhere else either. I've made a few changes that I attached. With this you can put the file in a directory that you append to your $GUIX_PACKAGE_PATH and then just

Re: Trying to define a package

2018-04-03 Thread Pierre Neidhardt
Arnaud B writes: > *"The (...) gnu-build-system represents the familiar GNU Build System, > where packages may be configured, built, and installed with the usual > ./configure && make && make check && make install command sequence."* > I checked that bash, bash-minimal, bash-completion are all f

Re: Trying to define a package

2018-04-03 Thread Arnaud B
Hello everyone, Well I'm happy to report that thanks to your advice I made some progress. Using the scm file attached and the command : *guix build -L /home/arnaud/guix_packages/gnu/packages/ -K -f freefilesync.scm* the build process starts as it should, the zip file is downloaded, checked and unz

Re: Trying to define a package

2018-04-02 Thread Arnaud B
​Hello Pierre and Oleg Thanks a lot for the detailed and helpful answers, I will do accordingly tomorrow night after work and report. Cheers

Re: Trying to define a package

2018-04-02 Thread Oleg Pykhalov
Hello Arnaud, Pierre Neidhardt writes: > Arnaud B writes: […] >> One thing to add is that the downloaded source file is not tar.gz file >> format but zip file, perhaps that's part of the problem ? > > I think you need > > (native-inputs > `(("unzip" ,unzip))) > > And add the (gnu pac

Re: Trying to define a package

2018-04-02 Thread Pierre Neidhardt
Arnaud B writes: > The thing is that I can not debug the build process, even though I use the > --keep-failed option : I'm not getting a temp build directory > (/tmp/guix-build-...) as I expect : This is so because it fails too early, that is, before it builds. The error is that when using `-f

Trying to define a package

2018-04-02 Thread Arnaud B
Hello all, I'm trying to create a package definition, following mainly the manual pages : - Packaging Guidelines - Defining-Packages