diff options
author | figsoda <figsoda@pm.me> | 2021-11-15 19:03:01 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-11-16 08:11:48 -0500 |
commit | 7303def464d68215690639d9e880d1ad8b64815f (patch) | |
tree | cac04303b9b2ee7215f843ee95b55c7bb375aedf /pkgs/applications/window-managers | |
parent | 8ec1bb1b463377e0bb6ee06fd14518df718daa89 (diff) |
eww: use buildFeatures
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/eww/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/window-managers/eww/default.nix b/pkgs/applications/window-managers/eww/default.nix index c2cc2f23cdb89..a987c6c2e0e5d 100644 --- a/pkgs/applications/window-managers/eww/default.nix +++ b/pkgs/applications/window-managers/eww/default.nix @@ -25,10 +25,10 @@ rustPlatform.buildRustPackage rec { buildInputs = [ gtk3 ] ++ lib.optional withWayland gtk-layer-shell; - cargoBuildFlags = [ "--bin" "eww" ] ++ lib.optionals withWayland [ - "--no-default-features" - "--features=wayland" - ]; + buildNoDefaultFeatures = withWayland; + buildFeatures = lib.optional withWayland "wayland"; + + cargoBuildFlags = [ "--bin" "eww" ]; cargoTestFlags = cargoBuildFlags; |