Loading pkgs/build-support/fetchurl/tests.nix +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ jq, moreutils, emptyFile, hello, ... }: let Loading Loading @@ -138,4 +139,13 @@ in # have to fallback to fetching the previously-built derivation from # tarballs.nixos.org, which provides pre-built derivation outputs. }; urls-simple = testers.invalidateFetcherByDrvHash fetchurl { name = "test-fetchurl-urls-simple"; urls = [ "http://broken" hello.src.resolvedUrl ]; hash = hello.src.outputHash; }; } Loading
pkgs/build-support/fetchurl/tests.nix +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ jq, moreutils, emptyFile, hello, ... }: let Loading Loading @@ -138,4 +139,13 @@ in # have to fallback to fetching the previously-built derivation from # tarballs.nixos.org, which provides pre-built derivation outputs. }; urls-simple = testers.invalidateFetcherByDrvHash fetchurl { name = "test-fetchurl-urls-simple"; urls = [ "http://broken" hello.src.resolvedUrl ]; hash = hello.src.outputHash; }; }