From b3caa2f1fed4526fa0d6744c353f3c7678d4bb40 Mon Sep 17 00:00:00 2001 From: Artturin Date: Tue, 17 May 2022 22:10:33 +0300 Subject: treewide: extraPostFetch -> postFetch --- pkgs/build-support/fetchzip/tests.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'pkgs/build-support/fetchzip') diff --git a/pkgs/build-support/fetchzip/tests.nix b/pkgs/build-support/fetchzip/tests.nix index 1ee2d0e7a49c7..f1a1ed65817ba 100644 --- a/pkgs/build-support/fetchzip/tests.nix +++ b/pkgs/build-support/fetchzip/tests.nix @@ -1,25 +1,17 @@ { testers, fetchzip, ... }: let - zipUrl = "https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2/archive/2f430f0c136a69b0886281d0c76708997d8878af.zip"; + url = "https://gist.github.com/glandium/01d54cefdb70561b5f6675e08f2990f2/archive/2f430f0c136a69b0886281d0c76708997d8878af.zip"; in { simple = testers.invalidateFetcherByDrvHash fetchzip { - inherit zipUrl; + inherit url; sha256 = "sha256-0ecwgL8qUavSj1+WkaxpmRBmu7cvj53V5eXQV71fddU="; }; postFetch = testers.invalidateFetcherByDrvHash fetchzip { - inherit zipUrl; + inherit url; sha256 = "sha256-7sAOzKa+9vYx5XyndHxeY2ffWAjOsgCkXC9anK6cuV0="; postFetch = ''touch $out/filee''; }; - - #extraPostFetch = testers.invalidateFetcherByDrvHash fetchzip { - # inherit url; - # sha256 = "sha256-UC8oJqojqpjqa72UpT0QTME+UwQhVVk5/d9mgRPDR20="; - # extraPostFetch = '' - # touch $out/afile - # ''; - #}; } -- cgit 1.4.1