diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-02-13 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-02-22 19:41:31 +0100 |
commit | a6898bc1205701671eddfc67f80f643165253e7f (patch) | |
tree | ad55a5320ea9f048af48413ae81a44b7d29aeb81 | |
parent | 7e29b55e9d4c09ed7d045bcb2593ed025ad95107 (diff) | |
download | nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar.gz nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar.bz2 nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar.lz nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar.xz nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.tar.zst nixpkgs-a6898bc1205701671eddfc67f80f643165253e7f.zip |
ashpd-demo: use rustPlatform.bindgenHook
-rw-r--r-- | pkgs/development/tools/ashpd-demo/default.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/tools/ashpd-demo/default.nix b/pkgs/development/tools/ashpd-demo/default.nix index f6842dacec9..9d873b8461f 100644 --- a/pkgs/development/tools/ashpd-demo/default.nix +++ b/pkgs/development/tools/ashpd-demo/default.nix @@ -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; |