diff --git a/src/libflake/flake/flake.cc b/src/libflake/flake/flake.cc index 688b7de5ba1..000829bb19b 100644 --- a/src/libflake/flake/flake.cc +++ b/src/libflake/flake/flake.cc @@ -863,7 +863,7 @@ void initLib(const Settings & settings) .atPos(*args[0]) .debugThrow(); if (!input.isFlake) - state.error("'builtins.getFlake' does not permit attribute 'flake = false'; use 'builtins.fetchTree' instead") + state.error("'builtins.getFlake' does not permit attribute 'flake = false'") .atPos(*args[0]) .debugThrow();