sublime-merge: add libGL buildInput for Sublime Merge 2
This commit is contained in:
parent
5f63bf75a3
commit
76be58a6f9
@ -1,6 +1,6 @@
|
|||||||
{ buildVersion, sha256, dev ? false }:
|
{ buildVersion, sha256, dev ? false }:
|
||||||
|
|
||||||
{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
|
{ fetchurl, stdenv, xorg, glib, libGL, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
|
||||||
, pkexecPath ? "/run/wrappers/bin/pkexec"
|
, pkexecPath ? "/run/wrappers/bin/pkexec"
|
||||||
, writeScript, common-updater-scripts, curl, gnugrep, coreutils
|
, writeScript, common-updater-scripts, curl, gnugrep, coreutils
|
||||||
}:
|
}:
|
||||||
@ -40,7 +40,7 @@ in let
|
|||||||
for binary in ${ builtins.concatStringsSep " " binaries }; do
|
for binary in ${ builtins.concatStringsSep " " binaries }; do
|
||||||
patchelf \
|
patchelf \
|
||||||
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||||
--set-rpath ${libPath}:${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \
|
--set-rpath ${libPath}:${libGL}/lib:${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"} \
|
||||||
$binary
|
$binary
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user