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;
|
||||
|
||||
cargoBuildFlags = [ "--bin" "eww" ] ++ lib.optionals withWayland [
|
||||
"--no-default-features"
|
||||
"--features=wayland"
|
||||
];
|
||||
buildNoDefaultFeatures = withWayland;
|
||||
buildFeatures = lib.optional withWayland "wayland";
|
||||
|
||||
cargoBuildFlags = [ "--bin" "eww" ];
|
||||
|
||||
cargoTestFlags = cargoBuildFlags;
|
||||
|
||||
|
|
Loading…
Reference in a new issue