Skip to content

Commit 90f4db9

Browse files
committed
fix pr exclusions on hydra
1 parent 67f30e2 commit 90f4db9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

release.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@
99

1010
# The project sources
1111
{ cardano-node ? { outPath = ./.; rev = "abcdef"; }
12+
, pr ? null
1213
}:
1314

1415
let
1516
inherit (import ./nix/flake-compat.nix {
1617
src = cardano-node;
1718
}) defaultNix;
1819

19-
jobs = defaultNix.hydraJobs;
20+
jobs = if (pr == null) then defaultNix.hydraJobs else defaultNix.hydraJobsPr;
2021

2122
in
2223
jobs

0 commit comments

Comments
 (0)