diff options
author | aszlig <aszlig@redmoonstudios.org> | 2017-02-19 23:58:33 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2017-02-20 00:05:18 +0100 |
commit | 7c9f4ee0325d3d1902d8123a6708a449c2fa3eac (patch) | |
tree | 2198361fdb1d37b290f156a5813f539530d74853 /pkgs/top-level/lua-packages.nix | |
parent | 4b833facf18adca73872f07b5394019af5b1a8bd (diff) | |
download | nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar.gz nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar.bz2 nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar.lz nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar.xz nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.tar.zst nixpkgs-7c9f4ee0325d3d1902d8123a6708a449c2fa3eac.zip |
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 <aszlig@redmoonstudios.org> Cc: @mornfall, @vcunat
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r-- | pkgs/top-level/lua-packages.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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 ]; }; }; |