discord-gamesdk: set autoPatchelfHook for linux targets only

This commit is contained in:
Matteo Pacini 2024-06-15 11:26:19 +01:00
parent bac3e72803
commit eb0f84991d

View File

@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [ (stdenv.cc.cc.libgcc or null) ];
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = lib.optional stdenv.isLinux autoPatchelfHook;
installPhase =
let