mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-05 09:58:50 +03:00
ashpd-demo: use rustPlatform.bindgenHook
This commit is contained in:
parent
7e29b55e9d
commit
a6898bc120
@ -48,6 +48,7 @@ stdenv.mkDerivation rec {
|
||||
rustPlatform.cargoSetupHook
|
||||
rustPlatform.rust.rustc
|
||||
wrapGAppsHook4
|
||||
rustPlatform.bindgenHook
|
||||
desktop-file-utils
|
||||
glib # for glib-compile-schemas
|
||||
];
|
||||
@ -63,11 +64,6 @@ stdenv.mkDerivation rec {
|
||||
libshumate
|
||||
];
|
||||
|
||||
# libspa-sys requires this for bindgen
|
||||
LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib";
|
||||
# <spa-0.2/spa/utils/defs.h> included by libspa-sys requires <stdbool.h>
|
||||
BINDGEN_EXTRA_CLANG_ARGS = "-I${llvmPackages.libclang.lib}/lib/clang/${lib.getVersion llvmPackages.clang}/include -I${glibc.dev}/include";
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
attrPath = pname;
|
||||
|
Loading…
Reference in New Issue
Block a user