Skip to content

Commit

Permalink
nixos-firewall-tools: don't use filesets
Browse files Browse the repository at this point in the history
This breaks the installer tests.

See NixOS/nix#11503 for more fileset-related nonsense.
  • Loading branch information
K900 committed Dec 30, 2024
1 parent 3be90b9 commit f665268
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkgs/by-name/ni/nixos-firewall-tool/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];
Expand Down

0 comments on commit f665268

Please sign in to comment.