diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-27 23:50:36 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-01-27 23:50:36 +0100 |
commit | 52029b8e00da189520c9dc1d3af7b5cf4dbafbb3 (patch) | |
tree | beccf8346428c1cea814961284ae8c6967d72f72 /pkgs/misc/documentation-highlighter | |
parent | 33a54c23be28bea931901c5b468d195d6bb99892 (diff) | |
parent | 91706d179862f3311fa5d27474ffb477a6070f44 (diff) |
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'pkgs/misc/documentation-highlighter')
-rw-r--r-- | pkgs/misc/documentation-highlighter/default.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/pkgs/misc/documentation-highlighter/default.nix b/pkgs/misc/documentation-highlighter/default.nix index 2a34e36742d57..22ea3a5f86e37 100644 --- a/pkgs/misc/documentation-highlighter/default.nix +++ b/pkgs/misc/documentation-highlighter/default.nix @@ -7,6 +7,16 @@ runCommand "documentation-highlighter" { platforms = lib.platforms.all; maintainers = [ lib.maintainers.grahamc ]; }; + src = lib.sources.cleanSourceWith { + src = ./.; + filter = path: type: lib.elem path (map toString [ + ./highlight.pack.js + ./LICENSE + ./loader.js + ./mono-blue.css + ./README.md + ]); + }; } '' - cp -r ${./.} $out + cp -r "$src" "$out" '' |