aboutsummaryrefslogtreecommitdiff
path: root/pkgs/chef/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/chef/default.nix')
-rw-r--r--pkgs/chef/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/chef/default.nix b/pkgs/chef/default.nix
index 0cbbebb..f4f2870 100644
--- a/pkgs/chef/default.nix
+++ b/pkgs/chef/default.nix
@@ -1,4 +1,4 @@
-{ rustPlatform, fetchFromGitHub, lib, installShellFiles, gitUpdater, serve ? true }:
+{ rustPlatform, fetchFromGitHub, lib, installShellFiles, gitUpdater, withWebserver ? true }:
rustPlatform.buildRustPackage rec {
pname = "cooklang-chef";
version = "0.10.1";
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
cargoLock.lockFile = "${src}/Cargo.lock";
# optionally disable the webserver
- buildNoDefaultFeatures = !serve;
+ buildNoDefaultFeatures = !withWebserver;
nativeBuildInputs = [
installShellFiles