{"action":"created","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43362","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43362/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43362/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43362/events","html_url":"https://github.com/NixOS/nixpkgs/issues/43362","id":340283047,"node_id":"MDU6SXNzdWUzNDAyODMwNDc=","number":43362,"title":"Concatenate types.listOf types.string to string","user":{"login":"Chiiruno","id":30435868,"node_id":"MDQ6VXNlcjMwNDM1ODY4","avatar_url":"https://avatars0.githubusercontent.com/u/30435868?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiiruno","html_url":"https://github.com/Chiiruno","followers_url":"https://api.github.com/users/Chiiruno/followers","following_url":"https://api.github.com/users/Chiiruno/following{/other_user}","gists_url":"https://api.github.com/users/Chiiruno/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiiruno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiiruno/subscriptions","organizations_url":"https://api.github.com/users/Chiiruno/orgs","repos_url":"https://api.github.com/users/Chiiruno/repos","events_url":"https://api.github.com/users/Chiiruno/events{/privacy}","received_events_url":"https://api.github.com/users/Chiiruno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-11T15:02:51Z","updated_at":"2018-07-11T17:23:45Z","closed_at":"2018-07-11T17:23:45Z","author_association":"CONTRIBUTOR","body":"## Issue description\r\nI want to convert a `types.listOf types.string` to just a regular string, probably by concatenating.\r\nHowever, I run into this error no matter what I try, even with `lib.concatStrings`: `error: attempt to call something which is not a function but a set, at /mnt/hdd0/home/okina/Documents/Development/nixpkgs/nixos/modules/services/web-servers/hydron.nix:42:14`\r\n\r\nRelevant code:\r\n```\r\naddTags = mkOption {\r\n  type = types.nullOr types.listOf types.string;\r\n  default = null;\r\n  example = ''[ \"a111e64e3c4bfe22f64ffd557fc2a80bcd26ac03 komeiji_koishi hat dance\" ]'';\r\n  description = \"Add TAGS to file specified by hex-encoded SHA1 hash ID.\";\r\n};\r\n```\r\n\r\n```\r\n${pkgs.hydron}/bin/hydron\\\r\n  ${optionalString (cfg.listenAddress != null) \" -a ${cfg.listenAddress}\"}\\\r\n  ${optionalString (cfg.import && cfg.importPaths != null) \" import ${cfg.importPaths}\"}\\\r\n  ${optionalString (cfg.fetchTags) \" fetch_tags\"}\\\r\n  ${optionalString (cfg.removeIDs != null) \" remove ${cfg.removeIDs}\"}\\\r\n  ${optionalString (cfg.addTags != null) \" add_tags ${cfg.addTags}\"}\\\r\n  ${optionalString (cfg.removeTags != null) \" remove_tags ${cfg.removeTags}\"} serve\r\n```\r\n\r\n### Steps to reproduce\r\nN/A\r\n\r\n\r\n## Technical details\r\n - system: `\"x86_64-linux\"`\r\n - host os: `Linux 4.17.4, NixOS, 18.09pre145524.2a8a5533d18 (Jellyfish)`\r\n - multi-user?: `yes`\r\n - sandbox: `yes`\r\n - version: `nix-env (Nix) 2.0.4`\r\n - channels(root): `\"nixos, nixpkgs\"`\r\n - channels(okina): `\"\"`\r\n - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`"},"comment":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/comments/404247958","html_url":"https://github.com/NixOS/nixpkgs/issues/43362#issuecomment-404247958","issue_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/43362","id":404247958,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDI0Nzk1OA==","user":{"login":"Chiiruno","id":30435868,"node_id":"MDQ6VXNlcjMwNDM1ODY4","avatar_url":"https://avatars0.githubusercontent.com/u/30435868?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiiruno","html_url":"https://github.com/Chiiruno","followers_url":"https://api.github.com/users/Chiiruno/followers","following_url":"https://api.github.com/users/Chiiruno/following{/other_user}","gists_url":"https://api.github.com/users/Chiiruno/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiiruno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiiruno/subscriptions","organizations_url":"https://api.github.com/users/Chiiruno/orgs","repos_url":"https://api.github.com/users/Chiiruno/repos","events_url":"https://api.github.com/users/Chiiruno/events{/privacy}","received_events_url":"https://api.github.com/users/Chiiruno/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T17:23:45Z","updated_at":"2018-07-11T17:23:45Z","author_association":"CONTRIBUTOR","body":"Thank you! That did it!"}}
{"actor":{"display_login":"Chiiruno"}}