[Nix-dev] nuke-refs
Rickard Nilsson
rickard.nilsson at telia.com
Fri Mar 25 15:09:00 CET 2011
On Fri, 25 Mar 2011 13:32:43 +0100, Eelco Dolstra
<e.dolstra at tudelft.nl> wrote:
> Hi,
>
> On 03/25/2011 01:23 PM, Rickard Nilsson wrote:
>
>> I'm trying to build the nixos ISO with:
>>
>> nix-build nixos/release.nix -A iso_minimal
>>
>> I've got a recent nix trunk build installed, and I've added prebuilt
>> binaries
>> with nix-pull. However, I get the following error:
>>
>> /nix/store/rk9jl8rzqr7ynmaaz0qdy8j9r5hkb56f-stdenv-linux/setup: line
>> 864:
>> nuke-refs: command not found
>
> In what derivation does this happen?
This is a bit more of the log:
`/nix/store/sdiqv7h0m4q4rshxmhqdgpxhgxw1m7wd-bash-4.1-p2/bin/bash' ->
`/nix/store/mbyd6656z4bj5bfbkyfif3pgd764r7dy-extra-utils/bin/bash'
`/nix/store/mbyd6656z4bj5bfbkyfif3pgd764r7dy-extra-utils/bin/sh' ->
`bash'
`/nix/store/l5hgjwg2rap368c4zxc0w0r2s5irjvpw-module-init-tools-3.4/sbin/modprobe'
->
`/nix/store/mbyd6656z4bj5bfbkyfif3pgd764r7dy-extra-utils/bin/modprobe.real'
/nix/store/rk9jl8rzqr7ynmaaz0qdy8j9r5hkb56f-stdenv-linux/setup: line
864: nuke-refs: command not found
builder for
`/nix/store/bbzwn4p1p4ykcjmpklvm7mz3xi5vqjqh-extra-utils.drv' failed
with exit code 127
cannot build derivation
`/nix/store/b5vqd1z55giiay2lnh6xvy5in1w2ywhy-initrd.drv': 1 dependencies
couldn't be built
cannot build derivation
`/nix/store/7w8bwsdgh0k945v2iglbnx7v73cwpaqd-iso9660-image.drv': 1
dependencies couldn't be built
cannot build derivation
`/nix/store/i83nypxax2lhs3qrazl685nv8khf3rz9-nixos-iso-0.1pre1234.drv':
1 dependencies couldn't be built
error: build of
`/nix/store/i83nypxax2lhs3qrazl685nv8khf3rz9-nixos-iso-0.1pre1234.drv'
failed
>> What is nuke-refs, and why is it not found?
>
> It's used in the generation of the initrd to prevent unwanted
> dependencies from being pulled in (for instance, it would be bad to
> get a complete copy of Glibc in the initrd). However, the
> derivations
> that need nuke-refs have the nukeReferences package in their
> buildInputs, so I don't know why this should fail.
More information about the nix-dev
mailing list