mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-12 06:19:00 +00:00
onagre: fix missing library files error
Thanks to the following comment, onagre is properly running without
issues.
2b6b451c39 (r80485137)
This commit is contained in:
parent
49b1d34a06
commit
e33d2c0234
@ -8,6 +8,10 @@
|
|||||||
, expat
|
, expat
|
||||||
, wayland
|
, wayland
|
||||||
, libX11
|
, libX11
|
||||||
|
, libGL
|
||||||
|
, libxkbcommon
|
||||||
|
, vulkan-loader
|
||||||
|
, pop-launcher
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
@ -25,9 +29,11 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
buildInputs = [ freetype expat ];
|
buildInputs = [ freetype expat wayland libX11 libGL libxkbcommon vulkan-loader ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ wayland libX11 ];
|
postFixup = ''
|
||||||
|
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} $out/bin/onagre
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/oknozor/onagre";
|
homepage = "https://github.com/oknozor/onagre";
|
||||||
|
Loading…
Reference in New Issue
Block a user