diff options
author | Jade Lovelace <lix@jade.fyi> | 2024-06-06 11:35:03 -0700 |
---|---|---|
committer | Jade Lovelace <lix@jade.fyi> | 2024-06-06 15:08:12 -0700 |
commit | 9c77c62e731e3fb9b1a87414c5b2d7a52932a507 (patch) | |
tree | 3e2ec9a7ff5156be6828006a4890b641b4729bd9 /nix-support/binary-tarball.nix | |
parent | 24057dcb6a5d33806de66de1e42137eca398350e (diff) |
Move version to a JSON file so we can have release names
Change-Id: I5ff3396a302565ee5ee6c2db97e048e403779076
Diffstat (limited to 'nix-support/binary-tarball.nix')
-rw-r--r-- | nix-support/binary-tarball.nix | 5 |
1 files changed, 2 insertions, 3 deletions
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 |