From a6fd03876efad098006392ae0adebb11077d35aa Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 10 Feb 2018 23:47:05 +0200 Subject: [PATCH] check-meta: Use concatStrings --- pkgs/stdenv/generic/check-meta.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 745ad14bc08b..dc5e79fcd4f2 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -96,8 +96,7 @@ let '' Known issues: - - '' + (lib.fold (issue: default: "${default} - ${issue}\n") "" attrs.meta.knownVulnerabilities) + '' + '' + (lib.concatStrings (map (issue: " - ${issue}\n") attrs.meta.knownVulnerabilities)) + '' You can install it anyway by whitelisting this package, using the following methods: