diff --git a/src/lib/Hydra/Plugin/GithubPulls.pm b/src/lib/Hydra/Plugin/GithubPulls.pm index 293a94c2..6a3cc951 100644 --- a/src/lib/Hydra/Plugin/GithubPulls.pm +++ b/src/lib/Hydra/Plugin/GithubPulls.pm @@ -58,6 +58,7 @@ sub fetchInput { system("jq -S . < $filename > $tempdir/github-pulls-sorted.json"); my $storePath = trim(`nix-store --add "$tempdir/github-pulls-sorted.json"` or die "cannot copy path $filename to the Nix store.\n"); + chomp $storePath; my $timestamp = time; return { storePath => $storePath, revision => strftime "%Y%m%d%H%M%S", gmtime($timestamp) }; }