idris2: fix packagePaths issue
packagePaths changed between idris2 `v0.3.0` and `v0.4.0` and now includes a version number in the path. Fixes nixos/nixpkgs#130310 Co-authored-by: zseri <zseri.devel@ytrizja.de> Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
This commit is contained in:
parent
0c98c6bbc4
commit
37d73021ee
1 changed files with 2 additions and 1 deletions
|
@ -48,7 +48,8 @@ stdenv.mkDerivation rec {
|
|||
postInstall = let
|
||||
includedLibs = [ "base" "contrib" "network" "prelude" ];
|
||||
name = "${pname}-${version}";
|
||||
packagePaths = builtins.map (l: "$out/${name}/" + l) includedLibs;
|
||||
packagePaths =
|
||||
builtins.map (l: "$out/${name}/${l}-${version}") includedLibs;
|
||||
additionalIdris2Paths = builtins.concatStringsSep ":" packagePaths;
|
||||
in ''
|
||||
# Remove existing idris2 wrapper that sets incorrect LD_LIBRARY_PATH
|
||||
|
|
Loading…
Reference in a new issue