flake: tweak nix-filter's list of excludes
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
6c56c34183
commit
c3b9ddee27
16
flake.nix
16
flake.nix
@ -82,12 +82,19 @@
|
||||
# In 'nix develop', we don't need a copy of the source tree
|
||||
# in the Nix store.
|
||||
src = nix-filter.lib.filter {
|
||||
# when in doubt, check out
|
||||
# https://github.com/numtide/nix-filter#design-notes
|
||||
# tl;dr: it'd be best to include folders, however there are
|
||||
# currently issues with that approach.
|
||||
root = lib.cleanSource self;
|
||||
exclude = [
|
||||
./flake.nix
|
||||
./flake.lock
|
||||
./default.nix
|
||||
./shell.nix
|
||||
./overlay.nix
|
||||
|
||||
./README.md
|
||||
|
||||
./.envrc
|
||||
./.drone.star
|
||||
@ -98,6 +105,15 @@
|
||||
./.pre-commit-config.yaml
|
||||
|
||||
./.badges
|
||||
# math-optim program output
|
||||
./out
|
||||
./res
|
||||
|
||||
# nix result symlink
|
||||
./result
|
||||
|
||||
# the entire .git folder
|
||||
./.git
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user