eww: use buildFeatures
This commit is contained in:
parent
8ec1bb1b46
commit
7303def464
1 changed files with 4 additions and 4 deletions
|
@ -25,10 +25,10 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
buildInputs = [ gtk3 ] ++ lib.optional withWayland gtk-layer-shell;
|
buildInputs = [ gtk3 ] ++ lib.optional withWayland gtk-layer-shell;
|
||||||
|
|
||||||
cargoBuildFlags = [ "--bin" "eww" ] ++ lib.optionals withWayland [
|
buildNoDefaultFeatures = withWayland;
|
||||||
"--no-default-features"
|
buildFeatures = lib.optional withWayland "wayland";
|
||||||
"--features=wayland"
|
|
||||||
];
|
cargoBuildFlags = [ "--bin" "eww" ];
|
||||||
|
|
||||||
cargoTestFlags = cargoBuildFlags;
|
cargoTestFlags = cargoBuildFlags;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue