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 'nix develop', we don't need a copy of the source tree
|
||||||
# in the Nix store.
|
# in the Nix store.
|
||||||
src = nix-filter.lib.filter {
|
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;
|
root = lib.cleanSource self;
|
||||||
exclude = [
|
exclude = [
|
||||||
./flake.nix
|
./flake.nix
|
||||||
./flake.lock
|
./flake.lock
|
||||||
./default.nix
|
./default.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
|
./overlay.nix
|
||||||
|
|
||||||
|
./README.md
|
||||||
|
|
||||||
./.envrc
|
./.envrc
|
||||||
./.drone.star
|
./.drone.star
|
||||||
@ -98,6 +105,15 @@
|
|||||||
./.pre-commit-config.yaml
|
./.pre-commit-config.yaml
|
||||||
|
|
||||||
./.badges
|
./.badges
|
||||||
|
# math-optim program output
|
||||||
|
./out
|
||||||
|
./res
|
||||||
|
|
||||||
|
# nix result symlink
|
||||||
|
./result
|
||||||
|
|
||||||
|
# the entire .git folder
|
||||||
|
./.git
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user