tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tests.fetchurl: remove alias usage
Artturin
3 years ago
3452cd83
cb8f2dd6
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
build-support
fetchurl
tests.nix
+2
-2
pkgs/build-support/fetchurl/tests.nix
···
1
1
-
{ invalidateFetcherByDrvHash, fetchurl, jq, moreutils, ... }: {
1
1
+
{ testers, fetchurl, jq, moreutils, ... }: {
2
2
# Tests that we can send custom headers with spaces in them
3
3
header =
4
4
let headerValue = "Test '\" <- These are some quotes";
5
5
-
in invalidateFetcherByDrvHash fetchurl {
5
5
+
in testers.invalidateFetcherByDrvHash fetchurl {
6
6
url = "https://httpbin.org/headers";
7
7
sha256 = builtins.hashString "sha256" (headerValue + "\n");
8
8
curlOptsList = [ "-H" "Hello: ${headerValue}" ];