diff options
| author | LoipesMas <46327403+LoipesMas@users.noreply.github.com> | 2024-11-02 20:12:14 +0100 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-02 12:35:04 -0700 |
| commit | d58bb4eaa329c66aa8f8bd947a0c6f9f8b4e4537 (patch) | |
| tree | c34c056b47c18a56dfccfc3fed823bad763f10ac /flake.nix | |
| parent | c5fe25f4228c2482c2963710f995a94106916439 (diff) | |
| download | niri-d58bb4eaa329c66aa8f8bd947a0c6f9f8b4e4537.tar.gz niri-d58bb4eaa329c66aa8f8bd947a0c6f9f8b4e4537.tar.bz2 niri-d58bb4eaa329c66aa8f8bd947a0c6f9f8b4e4537.zip | |
flake: set RUSTFLAGS instead of CARGO_BUILD_RUSTFLAGS
Diffstat (limited to 'flake.nix')
| -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; }; }; } |
