diff --git a/pkgs/top-level/builder-defs.nix b/pkgs/top-level/builder-defs.nix index fc5c1691f617..4efed47f6d0b 100644 --- a/pkgs/top-level/builder-defs.nix +++ b/pkgs/top-level/builder-defs.nix @@ -391,7 +391,7 @@ args: with args; with stringsWithDeps; with lib; ensureDir "$out/share/doc/$name" '' + (concatStringsSep ";" (map - (x: ''cp "${x}" "$out/share/doc/$name || true;"'') + (x: ''cp "${x}" "$out/share/doc/$name" || true;'') (getAttr ["extraDoc"] [] args)))) ["minInit" "defEnsureDir" "doUnpack"]; realPhaseNames =