Hi,
Nikita Karetnikov nik...@karetnikov.org skribis:
+(arguments `(#:phases (alist-cons-before
+ 'configure 'fix-sh
+ (lambda _
+ (substitute* ./src/configure
+ ((-/bin/sh)
+
Am Donnerstag, 31. Januar 2013 schrieb Nikita Karetnikov:
This patch works, but I'd like to simplify it a bit. Is it possible?
There is no need to repeat the phases that do not change in your patch. If
you have a look at icu4c.scm, there is an example using alist-replace for
the configure
Nikita Karetnikov nik...@karetnikov.org skribis:
# strings
/nix/store/qn9m4cjncna9mcac98fynialsv2l28jm-glibc-intermediate-2.17/bin/sh |
grep ld.so
/nix/store/-glibc-2.13/lib/ld.so.1
How can I fix this?
You should actually build a statically-linked Bash,
You should actually build a statically-linked Bash, and edit
%bootstrap-inputs to use that instead of Nixpkgs’s dynamically-linked
Bash.
Here's what I did:
(define %bootstrap-inputs
`((libc ,(nixpkgs-derivation glibc mips64el-linux))
(bash /bin/sh)
,@(map (lambda (name)
l...@gnu.org (Ludovic Courtès) skribis:
No, but it’s true that it’s surprisingly slow to start:
$ time ./pre-inst-env guix-package
real0m1.084s
user0m0.904s
sys 0m0.058s
This is actually the time it takes to connect to the daemon, and to
compute the derivation of Guile (which