Nikita Karetnikov <nik...@karetnikov.org> skribis:

> (define %bootstrap-inputs
>   `(("libc" ,(nixpkgs-derivation "glibc" "mips64el-linux"))
>     ("bash" "/bin/sh")

[...]

>    ?: 0 [system* "/nix/store/n6nrnh7lm39qk2v9b3ij6420nlqznhi5-sh/bin/bash" 
> ...]
>
> ERROR: In procedure system*:
> ERROR: In procedure system*: Not a directory

As I wrote, the “bash” input above should be a *directory* containing
exactly a sub-directory called ‘bin’, itself containing a static
executable called ‘bash’.

Ludo’.

Reply via email to