mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
nix: Use filesets to reduce rebuilds
Nix expressions will never be used within the build, so let's filter them out so that editing Nix files never triggers rebuilds.
This commit is contained in:
parent
e108983356
commit
365c84997f
@ -30,7 +30,10 @@ let
|
||||
|
||||
args = {
|
||||
inherit version;
|
||||
src = ./.;
|
||||
src = lib.fileset.toSource {
|
||||
root = ./.;
|
||||
fileset = lib.fileset.fileFilter ({ hasExt, ... }: !hasExt "nix") ./.;
|
||||
};
|
||||
strictDeps = true;
|
||||
|
||||
env = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user