>From 4c02a5b578adab8f7e15f81dafceccd2ec84b4de Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson
Date: Fri, 10 Apr 2015 23:31:54 +0200 Subject: [PATCH] inetutils: Import three files into chroot. The testing of 'inetd' and 'tftp' needs three system files, in the chrooted directory '/etc/', for proper execution. Import these for jobs 'build' and 'coverage' by listing them with '__impureHostDeps'. --- inetutils/release.nix | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/inetutils/release.nix b/inetutils/release.nix index 4aa8225..a0d7992 100644 --- a/inetutils/release.nix +++ b/inetutils/release.nix @@ -84,6 +84,11 @@ let buildInputs = buildInputsFrom pkgs; inherit meta succeedOnFailure keepBuildDirectory; + + # A few system files are needed during chrooted testing. + __impureHostDeps = [ "/etc/nsswitch.conf" "/etc/protocols" + "/etc/services" + ]; } ; coverage = pkgs: { @@ -91,6 +96,11 @@ let buildInputs = buildInputsFrom pkgs; inherit meta succeedOnFailure keepBuildDirectory; + + # A few system files are needed during chrooted testing. + __impureHostDeps = [ "/etc/nsswitch.conf" "/etc/protocols" + "/etc/services" + ]; } ; }; }) // { -- 1.7.3.2