mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
exclude visual tests from nix, closes #181
This commit is contained in:
committed by
Ivan Molodetskikh
parent
89f74aae98
commit
1b752fe08f
@@ -39,16 +39,12 @@
|
|||||||
pname = "niri";
|
pname = "niri";
|
||||||
version = self.rev or "dirty";
|
version = self.rev or "dirty";
|
||||||
|
|
||||||
src = nix-filter.lib.filter {
|
src = nixpkgs.lib.cleanSourceWith {
|
||||||
root = ./.;
|
src = craneLib.path ./.;
|
||||||
include = [
|
filter = path: type:
|
||||||
./src
|
(builtins.match "resources" path == null) ||
|
||||||
./niri-config
|
((craneLib.filterCargoSources path type) &&
|
||||||
./niri-ipc
|
(builtins.match "niri-visual-tests" path == null));
|
||||||
./Cargo.toml
|
|
||||||
./Cargo.lock
|
|
||||||
./resources
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user