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@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to