starpls-bin: Fix dynamically linked dependencies (#345315)
This commit is contained in:
commit
0691f482df
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl, autoPatchelfHook }:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "starpls-bin";
|
||||
@ -19,6 +19,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
dontConfigure = true;
|
||||
dontBuild = true;
|
||||
|
||||
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isElf [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
||||
buildInputs = lib.optionals stdenv.hostPlatform.isElf [
|
||||
stdenv.cc.cc.lib
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
install -D $src $out/bin/starpls
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user