From 7f6c6506b2cd84b4b7235a0e31af56cad5b43a7d Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 2 Mar 2024 11:32:14 +0100 Subject: [PATCH] tests: Update Nix dependencies git belongs to dependencies executable on build platform. This is now enforced with strictDeps: https://github.com/NixOS/nixpkgs/commit/58762560bc3e8843bdfcada1b04ebcd019c5529e libpcap has already been added downstream: https://github.com/NixOS/nixpkgs/commit/a25fb7a91166cbe8423343dd11da522881011604 --- tests/run-nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/run-nix b/tests/run-nix index b23f19d..a783891 100755 --- a/tests/run-nix +++ b/tests/run-nix @@ -25,10 +25,14 @@ in pkgs.umockdev.overrideAttrs (attrs: { patches = []; preCheck = ""; doCheck = true; - nativeBuildInputs = attrs.nativeBuildInputs ++ [ ${DEBUG:+pkgs.breakpointHook} ]; - # git is a "meson dist" time dependency - # libpcap is a new dependency, it can be removed again later - buildInputs = attrs.buildInputs ++ [ pkgs.git pkgs.libpcap ]; + nativeBuildInputs = attrs.nativeBuildInputs ++ [ + ${DEBUG:+pkgs.breakpointHook} + # git is a "meson dist" time dependency + pkgs.git + ]; + buildInputs = attrs.buildInputs ++ [ + # Add new runtime (executable on host) dependencies here. + ]; }) EOG