forge
Explore
Log in

Don't you dare go Hollow

nix: clang -> rustPlatform.bindgenHook

Browse files at this commit

7af937b08e0f0718528d1a31c44cc14cdf326f8csodibooParent: 8665003
flake.nixmodified+2 -8
@@ -26,10 +26,8 @@
2626 {
2727 lib,
2828 cairo,
29- clang,
3029 dbus,
3130 libGL,
32- libclang,
3331 libdisplay-info,
3432 libinput,
3533 seatd,
@@ -79,7 +77,7 @@
7977 strictDeps = true;
8078
8179 nativeBuildInputs = [
82- clang
80+ rustPlatform.bindgenHook
8381 pkg-config
8482 ];
8583
@@ -119,8 +117,6 @@
119117 '';
120118
121119 env = {
122- LIBCLANG_PATH = lib.getLib libclang + "/lib";
123-
124120 # Force linking with libEGL and libwayland-client
125121 # so they can be discovered by `dlopen()`
126122 RUSTFLAGS = toString (
@@ -191,7 +187,7 @@
191187 ];
192188
193189 nativeBuildInputs = [
194- pkgs.clang
190+ pkgs.rustPlatform.bindgenHook
195191 pkgs.pkg-config
196192 pkgs.wrapGAppsHook4 # For `niri-visual-tests`
197193 ];
@@ -201,8 +197,6 @@
201197 ];
202198
203199 env = {
204- inherit (niri) LIBCLANG_PATH;
205-
206200 # WARN: Do not overwrite this variable in your shell!
207201 # It is required for `dlopen()` to work on some libraries; see the comment
208202 # in the package expression