mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #138299 from p3psi-boo/master
powershell: patchelf replace liblttng-ust.so.0 to so.1
This commit is contained in:
commit
60d5052e30
1 changed files with 5 additions and 1 deletions
|
@ -49,6 +49,10 @@ stdenv.mkDerivation rec {
|
|||
'' + lib.optionalString (!stdenv.isDarwin && !stdenv.isAarch64) ''
|
||||
patchelf --replace-needed libcrypto${ext}.1.0.0 libcrypto${ext}.1.1 $pslibs/libmi.so
|
||||
patchelf --replace-needed libssl${ext}.1.0.0 libssl${ext}.1.1 $pslibs/libmi.so
|
||||
'' + lib.optionalString (!stdenv.isDarwin) ''
|
||||
# Remove liblttng-ust from dependencies once
|
||||
# https://github.com/PowerShell/PowerShell/pull/14688 is in a release
|
||||
patchelf --replace-needed liblttng-ust${ext}.0 liblttng-ust${ext}.1 $pslibs/libcoreclrtraceptprovider.so
|
||||
'' + ''
|
||||
|
||||
mkdir -p $out/bin
|
||||
|
@ -69,7 +73,7 @@ stdenv.mkDerivation rec {
|
|||
meta = with lib; {
|
||||
description = "Powerful cross-platform (Windows, Linux, and macOS) shell and scripting language based on .NET";
|
||||
homepage = "https://github.com/PowerShell/PowerShell";
|
||||
maintainers = with maintainers; [ yrashk srgom ];
|
||||
maintainers = with maintainers; [ yrashk srgom p3psi ];
|
||||
platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-linux"];
|
||||
license = with licenses; [ mit ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue