From 7c9f4ee0325d3d1902d8123a6708a449c2fa3eac Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 19 Feb 2017 23:58:33 +0100 Subject: [PATCH] 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 Cc: @mornfall, @vcunat --- pkgs/top-level/lua-packages.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index 5ca9f697b87..3b6603996fc 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -239,7 +239,7 @@ let meta = with stdenv.lib; { homepage = "http://w3.impa.br/~diego/software/luasocket/"; - platforms = with platforms; [darwin linux freebsd illumos]; + platforms = with platforms; darwin ++ linux ++ freebsd ++ illumos; maintainers = with maintainers; [ mornfall ]; }; };