From 9c77c62e731e3fb9b1a87414c5b2d7a52932a507 Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Thu, 6 Jun 2024 11:35:03 -0700 Subject: Move version to a JSON file so we can have release names Change-Id: I5ff3396a302565ee5ee6c2db97e048e403779076 --- nix-support/binary-tarball.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'nix-support') diff --git a/nix-support/binary-tarball.nix b/nix-support/binary-tarball.nix index 8d25227c3..7b9bf5c2b 100644 --- a/nix-support/binary-tarball.nix +++ b/nix-support/binary-tarball.nix @@ -3,7 +3,6 @@ cacert, nix, system, - version, }: let installerClosureInfo = buildPackages.closureInfo { @@ -15,10 +14,10 @@ let meta.description = "Distribution-independent Lix bootstrap binaries for ${system}"; in -buildPackages.runCommand "lix-binary-tarball-${version}" { inherit meta; } '' +buildPackages.runCommand "lix-binary-tarball-${nix.version}" { inherit meta; } '' cp ${installerClosureInfo}/registration $TMPDIR/reginfo - dir=lix-${version}-${system} + dir=lix-${nix.version}-${system} fn=$out/$dir.tar.xz mkdir -p $out/nix-support echo "file binary-dist $fn" >> $out/nix-support/hydra-build-products -- cgit v1.2.3