about summary refs log tree commit diff
path: root/pkgs/build-support/fetchzip
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-17 22:10:33 +0300
committerArtturin <Artturin@artturin.com>2022-05-23 17:18:50 +0300
commitb3caa2f1fed4526fa0d6744c353f3c7678d4bb40 (patch)
tree075c7d92742b89b428aae317196c1e0f2dcc1dc7 /pkgs/build-support/fetchzip
parent5a6a31e54ddaf59aa8e1c5e7e9b02623d4881c34 (diff)
treewide: extraPostFetch -> postFetch
Diffstat (limited to 'pkgs/build-support/fetchzip')
-rw-r--r--pkgs/build-support/fetchzip/tests.nix14
1 files changed, 3 insertions, 11 deletions
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
-  #  '';
-  #};
 }