Nikita Karetnikov <[email protected]> skribis:
>> Can you replace occurrences of ‘nixpkgs-derivation*’ by
>
> There is no such function.
Oh, OK.
> (define %bootstrap-inputs
> - ;; The initial, pre-built inputs. From now on, we can start building our
> - ;; own packages.
> - `(("libc" ,%bootstrap-glibc)
> - ("gcc" ,%bootstrap-gcc)
> - ("binutils" ,%bootstrap-binutils)
> - ("coreutils&co" ,%bootstrap-coreutils&co)))
> + (compile-time-value
> + `(("libc" ,(nixpkgs-derivation "glibc" "mips64el-linux"))
> + ,@(map (lambda (name)
> + (list name (nixpkgs-derivation name "mips64el-linux")))
> + '("gnutar" "gzip" "bzip2" "xz" "patch"
> + "coreutils" "gnused" "gnugrep" "bash"
> + "gawk" ; used by `config.status'
> + "gcc" "binutils")))))
Remove ‘compile-time-value’, which has the effect I described.
Ludo’.