From cea2daf873e86d2939942a6be1bdcce0db0e9b1c Mon Sep 17 00:00:00 2001 From: Pascal Grange Date: Thu, 15 Jun 2023 11:10:11 +0200 Subject: [PATCH] Patch ni build of TUI for versioning --- nix/hydra/project.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nix/hydra/project.nix b/nix/hydra/project.nix index 77035065996..a958026596b 100644 --- a/nix/hydra/project.nix +++ b/nix/hydra/project.nix @@ -60,6 +60,12 @@ let export GIT_REVISION=${gitRev} ''; } + { + packages.hydra-tui.preBuild = '' + echo ======= PATCHING --version to ${gitRev} ======= + export GIT_REVISION=${gitRev} + ''; + } # Set libsodium-vrf on cardano-crypto-{praos,class}. Otherwise they depend # on libsodium, which lacks the vrf functionality. ({ pkgs, lib, ... }: