tests.fetchurl: remove alias usage

Artturin 3452cd83 cb8f2dd6

+2 -2
+2 -2
pkgs/build-support/fetchurl/tests.nix
··· 1 - { invalidateFetcherByDrvHash, fetchurl, jq, moreutils, ... }: { 2 # Tests that we can send custom headers with spaces in them 3 header = 4 let headerValue = "Test '\" <- These are some quotes"; 5 - in invalidateFetcherByDrvHash fetchurl { 6 url = "https://httpbin.org/headers"; 7 sha256 = builtins.hashString "sha256" (headerValue + "\n"); 8 curlOptsList = [ "-H" "Hello: ${headerValue}" ];
··· 1 + { testers, fetchurl, jq, moreutils, ... }: { 2 # Tests that we can send custom headers with spaces in them 3 header = 4 let headerValue = "Test '\" <- These are some quotes"; 5 + in testers.invalidateFetcherByDrvHash fetchurl { 6 url = "https://httpbin.org/headers"; 7 sha256 = builtins.hashString "sha256" (headerValue + "\n"); 8 curlOptsList = [ "-H" "Hello: ${headerValue}" ];