[Nix-dev] mips64el: syntax error in 'replace-dependency.nix'

Shea Levy shea at shealevy.com
Sat Jan 12 15:50:27 CET 2013


Hello,

The problem is not with the tarball per se, it's with nixpkgs. To fix 
the issue, you can either update your nix version to at least nix 1.2, 
or wait until 
https://github.com/NixOS/nixpkgs/commit/5626c5cdfb6de664881eb8b79dd54a8f4ca19b8f 
hits the nixpkgs channel so it will still work with older versions of nix.

Cheers,
Shea

On 01/12/2013 09:13 AM, Nikita Karetnikov wrote:
> Hi,
>
> I'm trying to install NixOS in a chroot.  I'm using a tarball
> (nixos-system-mips64el-linux.tar.xz) that I fetched several month ago.
>
> So, the problem is the following error message.
>
> # nix-env -i hello
> error: syntax error, unexpected $undefined, expecting '}', at `/nix/store/pax21mr1bmd7m7zlghb77hrsj3ay9jii-nixos-0.1pre4033_e844fed-96a834d/nixos/nixpkgs/pkgs/build-support/replace-dependency.nix:20:11'
> (use `--show-trace' to show detailed location information)
>
> Here is a line that raises the error:
>
> { drv, old-dependency, new-dependency }:
>
> When I was using this tarball in the past, it worked fine.  Is there a
> new tarball?
>
> Nikita
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130112/96bfd9d1/attachment.html 


More information about the nix-dev mailing list