Re: rustc problem

2017-01-10 Thread Ben Woodcroft
On 09/01/17 23:48, David Craven wrote: Not quite I'm afraid, I get /gnu/store/p8543gm372dyff5p8mcq0phb09mq548z-profile/bin/ld: cannot find crti.o: No such file or directory I have gcc-toolchain installed in my profile, this problem didn't show. I submitted a patch that works with guix environm

Re: rustc problem

2017-01-09 Thread Ludovic Courtès
Ben Woodcroft skribis: > On 09/01/17 21:27, David Craven wrote: >> Hi Ben, >> >> The problem is that binutils isn't retained. This is due to: >> >> (string-append "--default-ar=" gcc "/bin/ar"). >> >> This is a bug in the rustc package, which I haven't fixed yet. >> >> To work around this issue y

Re: rustc problem

2017-01-09 Thread David Craven
> Not quite I'm afraid, I get > /gnu/store/p8543gm372dyff5p8mcq0phb09mq548z-profile/bin/ld: cannot find > crti.o: No such file or directory I have gcc-toolchain installed in my profile, this problem didn't show. I submitted a patch that works with guix environment --pure --ad-hoc rustc

Re: rustc problem

2017-01-09 Thread Ben Woodcroft
On 09/01/17 21:27, David Craven wrote: Hi Ben, The problem is that binutils isn't retained. This is due to: (string-append "--default-ar=" gcc "/bin/ar"). This is a bug in the rustc package, which I haven't fixed yet. To work around this issue you should be able to do guix environment --ad-h

Re: rustc problem

2017-01-09 Thread David Craven
Hi Ben, The problem is that binutils isn't retained. This is due to: (string-append "--default-ar=" gcc "/bin/ar"). This is a bug in the rustc package, which I haven't fixed yet. To work around this issue you should be able to do guix environment --ad-hoc binutils rustc Thanks! David

rustc problem

2017-01-09 Thread Ben Woodcroft
Hi, I thought I'd try out rust today, just because. So I fired up Guix's rustc and tried to compile the example on https://www.rust-lang.org but alas: $ ./pre-inst-env guix environment -C --ad-hoc rustc [env]# rustc a.rs error: linking with `/gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4