forge
Explore
Log in

Don't you dare go Hollow

exclude visual tests from nix, closes #181

Browse files at this commit

1b752fe08fc7c451cdd1c9623c48b53661a4363cKiara GrouwstraParent: 89f74aa
flake.nixmodified+6 -10
@@ -39,16 +39,12 @@
39 pname = "niri";39 pname = "niri";
40 version = self.rev or "dirty";40 version = self.rev or "dirty";
41 41
42- src = nix-filter.lib.filter {42+ src = nixpkgs.lib.cleanSourceWith {
43- root = ./.;43+ src = craneLib.path ./.;
44- include = [44+ filter = path: type:
45- ./src45+ (builtins.match "resources" path == null) ||
46- ./niri-config46+ ((craneLib.filterCargoSources path type) &&
47- ./niri-ipc47+ (builtins.match "niri-visual-tests" path == null));
48- ./Cargo.toml
49- ./Cargo.lock
50- ./resources
51- ];
52 };48 };
53 49
54 nativeBuildInputs = with pkgs; [50 nativeBuildInputs = with pkgs; [