From 3452cd83167a1c7dcfb0f065686386fbecce237f Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 16 Nov 2022 21:52:37 +0200 Subject: tests.fetchurl: remove alias usage --- pkgs/build-support/fetchurl/tests.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/build-support') diff --git a/pkgs/build-support/fetchurl/tests.nix b/pkgs/build-support/fetchurl/tests.nix index fc7fb25e158ff..e348d77db0bdc 100644 --- a/pkgs/build-support/fetchurl/tests.nix +++ b/pkgs/build-support/fetchurl/tests.nix @@ -1,8 +1,8 @@ -{ invalidateFetcherByDrvHash, fetchurl, jq, moreutils, ... }: { +{ testers, fetchurl, jq, moreutils, ... }: { # Tests that we can send custom headers with spaces in them header = let headerValue = "Test '\" <- These are some quotes"; - in invalidateFetcherByDrvHash fetchurl { + in testers.invalidateFetcherByDrvHash fetchurl { url = "https://httpbin.org/headers"; sha256 = builtins.hashString "sha256" (headerValue + "\n"); curlOptsList = [ "-H" "Hello: ${headerValue}" ]; -- cgit 1.4.1