diff options
author | Robert Hensing <robert@roberthensing.nl> | 2022-05-05 12:08:50 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2022-05-05 12:08:50 +0200 |
commit | c071530ca51013059cb8181d6a34e65fef9702a1 (patch) | |
tree | 6c24ab0d52f5697bce826dcc53457f033a17a40b /pkgs/build-support/fetchpatch | |
parent | 4bd62b75f7253fbbd67cc978d1794eac9775b411 (diff) | |
download | nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar.gz nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar.bz2 nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar.lz nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar.xz nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.tar.zst nixpkgs-c071530ca51013059cb8181d6a34e65fef9702a1.zip |
testers.invalidateFetcherByDrvHash: Move from top-level
Diffstat (limited to 'pkgs/build-support/fetchpatch')
-rw-r--r-- | pkgs/build-support/fetchpatch/tests.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/build-support/fetchpatch/tests.nix b/pkgs/build-support/fetchpatch/tests.nix index ff2b81bf3a1..a42b7cd7d14 100644 --- a/pkgs/build-support/fetchpatch/tests.nix +++ b/pkgs/build-support/fetchpatch/tests.nix @@ -1,18 +1,18 @@ -{ invalidateFetcherByDrvHash, fetchpatch, ... }: +{ testers, fetchpatch, ... }: { - simple = invalidateFetcherByDrvHash fetchpatch { + simple = testers.invalidateFetcherByDrvHash fetchpatch { url = "https://github.com/facebook/zstd/pull/2724/commits/e1f85dbca3a0ed5ef06c8396912a0914db8dea6a.patch"; sha256 = "sha256-PuYAqnJWAE+L9bsroOnnBGJhERW8LHrGSLtIEkKU9vg="; }; - relative = invalidateFetcherByDrvHash fetchpatch { + relative = testers.invalidateFetcherByDrvHash fetchpatch { url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; relative = "include"; sha256 = "sha256-KlmIbixcds6GyKYt1fx5BxDIrU7msrgDdYo9Va/KJR4="; }; - full = invalidateFetcherByDrvHash fetchpatch { + full = testers.invalidateFetcherByDrvHash fetchpatch { url = "https://github.com/boostorg/math/commit/7d482f6ebc356e6ec455ccb5f51a23971bf6ce5b.patch"; relative = "test"; stripLen = 1; |