Branch: refs/heads/master
  Home:   https://github.com/NixOS/nixpkgs
  Commit: 7c9f4ee0325d3d1902d8123a6708a449c2fa3eac
      
https://github.com/NixOS/nixpkgs/commit/7c9f4ee0325d3d1902d8123a6708a449c2fa3eac
  Author: aszlig <[email protected]>
  Date:   2017-02-20 (Mon, 20 Feb 2017)

  Changed paths:
    M pkgs/top-level/lua-packages.nix

  Log Message:
  -----------
  lua-packages/luasocket: Fix wrong platforms value

This has surfaced due to 505d7bea3af48c79af4212111324a4b95f80f212 and
the fixup commit 77f5a50c400d7e312e7491593dcc8ee8cab86c2c.

The individial platform attributes are a list rather than single
elements, so in this case we got:

with platforms; [darwin linux freebsd illumos]

Which results in:

[ ["x86_64-darwin"]
  ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux"
   "armv7l-linux" "aarch64-linux" "mips64el-linux"]
  ["i686-freebsd" "x86_64-freebsd"]
  ["x86_64-solaris"]
]

So if you don't have allowBroken set in nixpkgs config, you end up with
an evaluation error because meta.platforms is expected to be a list
instead of a list of lists which we got here.

Signed-off-by: aszlig <[email protected]>
Cc: @mornfall, @vcunat


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to