summary refs log tree commit diff
path: root/scripts/default.nix
blob: 79957232526807b01232e3349f944d6a7350eadc (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>

{ pkgs ? import <nixpkgs> {} }:

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

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