Skip to content

Commit

Permalink
Update pkgs/tools/package-management/repro-get/default.nix
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
  • Loading branch information
MatthewCroughan and roberth committed Dec 29, 2022
1 parent cbee7fd commit 983f855
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/tools/package-management/repro-get/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ buildGoModule rec {

passthru.tests = {
"pkg-version" = repro-get.overrideAttrs (old: {
# see invalidateFetcherByDrvHash
name = "${repro-get.pname}-${builtins.unsafeDiscardStringContext (lib.substring 0 12 (baseNameOf repro-get.drvPath))}";
subPackages = [ "pkg/version" ];
installPhase = ''
rm -rf $out
Expand Down

0 comments on commit 983f855

Please sign in to comment.