diff --git a/flake.lock b/flake.lock index 7d469a1..7695b1d 100644 --- a/flake.lock +++ b/flake.lock @@ -15,21 +15,6 @@ "type": "github" } }, - "nix-filter": { - "locked": { - "lastModified": 1757882181, - "narHash": "sha256-+cCxYIh2UNalTz364p+QYmWHs0P+6wDhiWR4jDIKQIU=", - "owner": "numtide", - "repo": "nix-filter", - "rev": "59c44d1909c72441144b93cf0f054be7fe764de5", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "nix-filter", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1779622335, @@ -49,7 +34,6 @@ "root": { "inputs": { "crane": "crane", - "nix-filter": "nix-filter", "nixpkgs": "nixpkgs", "treefmt-nix": "treefmt-nix" } diff --git a/flake.nix b/flake.nix index 6e1ad6a..e1ed5d9 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,6 @@ inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05"; - nix-filter.url = "github:numtide/nix-filter"; crane.url = "github:ipetkov/crane"; treefmt-nix = { url = "github:numtide/treefmt-nix"; @@ -16,7 +15,6 @@ self, nixpkgs, crane, - nix-filter, treefmt-nix, }: let @@ -52,16 +50,7 @@ let craneLib = crane.mkLib pkgs; commonArgs = { - src = nix-filter.lib.filter { - root = ./.; - include = [ - ./Cargo.toml - ./Cargo.lock - ./src - ./README.md - ./LICENSE - ]; - }; + src = craneLib.cleanCargoSource ./.; strictDeps = true; nativeBuildInputs = with pkgs; [ pkg-config