diff options
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -123,7 +123,7 @@ # Force linking with libEGL and libwayland-client # so they can be discovered by `dlopen()` - CARGO_BUILD_RUSTFLAGS = toString ( + RUSTFLAGS = toString ( map (arg: "-C link-arg=" + arg) [ "-Wl,--push-state,--no-as-needed" "-lEGL" @@ -208,7 +208,7 @@ # in the package expression # # This should only be set with `CARGO_BUILD_RUSTFLAGS="$CARGO_BUILD_RUSTFLAGS -C your-flags"` - inherit (niri) CARGO_BUILD_RUSTFLAGS; + CARGO_BUILD_RUSTFLAGS = niri.RUSTFLAGS; }; }; } |
