blob: afbd262b83af262edd0811763a91b3fa258c37d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>
import ../../lib/call-package.nix ({ src, lib, runCommand }:
runCommand "spectrum-doc-anchors" {
src = lib.fileset.toSource {
root = ../..;
fileset = src;
};
} ''
! grep --color=always -r xref:http $src
touch $out
''
) (_: {})
|