From 9b303ffeec3a2d22bc8633df71de7ddb165d4c5a Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Mon, 17 Feb 2020 12:55:31 +0100 Subject: [PATCH] ci/ci-pr.nix: accept `src` such that we can get access `src.rev` Otherwise this will lead to the following Nix evaluation error: ``` hydra-eval-jobs returned exit code 1: error: opening file '/nix/store/3nxk3mfy2lv7hd9i4pbg1314f22rizgz-source/.git': No such file or directory ``` --- ci/ci-pr.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/ci-pr.nix b/ci/ci-pr.nix index 69e765b8fe..814f0628d9 100644 --- a/ci/ci-pr.nix +++ b/ci/ci-pr.nix @@ -1,4 +1,4 @@ # This file is used to govern CI jobs for GitHub PRs -args@{ supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ], ... }: -import ./ci.nix (args // { inherit supportedSystems; isMaster = false; }) +args@{ supportedSystems ? [ "x86_64-linux" "x86_64-darwin" ], src ? null, ... }: +import ./ci.nix (args // { inherit supportedSystems src; isMaster = false; })