YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
4.1k stars 122 forks source link

fix `cargo run` on nixos #628

Closed sodiboo closed 2 months ago

sodiboo commented 2 months ago

this boils down to adding some extra dependencies to the shell environment. they're also inherited from craneArgs because the ones from the package are actually transformed into the WRONG outputs of the packages. also refactors to use craneLib.devShell because it's somewhat cleaner.


the formatting changes around L45-L47 are caused by nix fmt. this is what alejandra wants to format it like, which is already the formatter set to be used for the nix flake

sodiboo commented 2 months ago

This PR is a follow-up to https://github.com/YaLTeR/niri/pull/579#pullrequestreview-2236763014

YaLTeR commented 2 months ago

Thanks