summary refs log blame commit diff
path: root/release/checks/codespell.nix
blob: 01aeb8cca8682e517cd9348b9a3438ecccc345e1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                              
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>

import ../../lib/call-package.nix ({ srcWithNix, lib, runCommand, codespell }:

runCommand "spectrum-codespell" {
  src = lib.fileset.toSource {
    root = ../..;
    fileset = srcWithNix;
  };
  nativeBuildInputs = [ codespell ];
} ''
  cd $src
  codespell
  touch $out
''
) (_: {})