From 56d0e46947e88d03093e537185f6f3743622a7d5 Mon Sep 17 00:00:00 2001 From: Tom McLaughlin Date: Mon, 28 Nov 2022 21:17:20 -0700 Subject: [PATCH] Add baseJulia version to julia wrapped name --- templates/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/default.nix b/templates/default.nix index 34ae2b2..7657a84 100644 --- a/templates/default.nix +++ b/templates/default.nix @@ -30,7 +30,7 @@ let # Wrapped Julia with libraries and environment variables. # Note: setting The PYTHON environment variable is recommended to prevent packages # from trying to obtain their own with Conda. - julia = runCommand "julia-wrapped" { buildInputs = [makeWrapper]; } '' + julia = runCommand "julia-${baseJulia.version}-wrapped" { buildInputs = [makeWrapper]; } '' mkdir -p $out/bin makeWrapper ${baseJulia}/bin/julia $out/bin/julia \ --suffix LD_LIBRARY_PATH : "${lib.makeLibraryPath extraLibs}" \