diff --git a/pkgs/by-name/ni/nixos-firewall-tool/package.nix b/pkgs/by-name/ni/nixos-firewall-tool/package.nix index 73b32608e89aa..a896109aa6a4d 100644 --- a/pkgs/by-name/ni/nixos-firewall-tool/package.nix +++ b/pkgs/by-name/ni/nixos-firewall-tool/package.nix @@ -6,13 +6,10 @@ shellcheck-minimal, }: -stdenvNoCC.mkDerivation rec { +stdenvNoCC.mkDerivation { name = "nixos-firewall-tool"; - src = lib.fileset.toSource { - root = ./.; - fileset = lib.fileset.fileFilter (file: !file.hasExt "nix") ./.; - }; + src = builtins.filterSource (name: _: !(lib.hasSuffix ".nix" name)) ./.; strictDeps = true; buildInputs = [ bash ];