From f6652684cc6f7f193d297cd444e0995fbd0372e3 Mon Sep 17 00:00:00 2001 From: K900 Date: Mon, 30 Dec 2024 20:49:52 +0300 Subject: [PATCH] nixos-firewall-tools: don't use filesets This breaks the installer tests. See https://github.com/NixOS/nix/issues/11503 for more fileset-related nonsense. --- pkgs/by-name/ni/nixos-firewall-tool/package.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 ];