mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-09-11 06:55:38 +03:00
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
This commit is contained in:
parent
2bd98c2d92
commit
ba73fa26d8
3
build.sh
3
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 <nixpkgs> {}; lib.version or lib.nixpkgsVersion'
|
||||
|
||||
|
||||
# Secrets are not shared to PRs from forks
|
||||
# nix-build | cachix push <project> - uploads binaries, runs&works only in the branches of the main repository, so for PRs - else case runs
|
||||
|
Loading…
Reference in New Issue
Block a user