summary refs log tree commit diff
path: root/scripts/default.nix
blob: 2237cb597a7c63f7512b58d1d6c2ddc09553b806 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is>

{ config ? import ../nix/eval-config.nix {} }:

let
  inherit (config.pkgs.lib) cleanSource cleanSourceWith hasSuffix;
in

cleanSourceWith {
  src = cleanSource ./.;
  filter = name: _type: !(hasSuffix ".nix" name);
}