mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 01:57:37 +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.cargoSetupHook
|
||||||
rustPlatform.rust.rustc
|
rustPlatform.rust.rustc
|
||||||
wrapGAppsHook4
|
wrapGAppsHook4
|
||||||
|
rustPlatform.bindgenHook
|
||||||
desktop-file-utils
|
desktop-file-utils
|
||||||
glib # for glib-compile-schemas
|
glib # for glib-compile-schemas
|
||||||
];
|
];
|
||||||
@ -63,11 +64,6 @@ stdenv.mkDerivation rec {
|
|||||||
libshumate
|
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 = {
|
passthru = {
|
||||||
updateScript = nix-update-script {
|
updateScript = nix-update-script {
|
||||||
attrPath = pname;
|
attrPath = pname;
|
||||||
|
Loading…
Reference in New Issue
Block a user