From ba73fa26d823c525acbd0903e0813bbabf6610ec Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Wed, 24 Jun 2020 03:56:08 +0300 Subject: [PATCH] CI: build.sh: add report of Nixpkgs channel revision Since Nix and Nixpkgs channel were just updated and build is next - report the revision. M build.sh --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 5865f20..0d094d3 100755 --- a/build.sh +++ b/build.sh @@ -193,6 +193,9 @@ MAIN() { (nix-channel --update && nix-env -iA nixpkgs.nix) || (sudo nix upgrade-nix) +# Report the Nixpkgs channel revision +nix-instantiate --eval -E 'with import {}; lib.version or lib.nixpkgsVersion' + # Secrets are not shared to PRs from forks # nix-build | cachix push - uploads binaries, runs&works only in the branches of the main repository, so for PRs - else case runs