diff --git a/pkgs/tools/networking/dropbear/default.nix b/pkgs/tools/networking/dropbear/default.nix index c786a85441a..f42c8f7ebe9 100644 --- a/pkgs/tools/networking/dropbear/default.nix +++ b/pkgs/tools/networking/dropbear/default.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { configureFlags = stdenv.lib.optional enableStatic "LDFLAGS=-static"; - CFLAGS = "-DSFTPSERVER_PATH=${sftpPath}"; + CFLAGS = "-DSFTPSERVER_PATH=\\\"${sftpPath}\\\""; patches = [ # Allow sessions to inherit the PATH from the parent dropbear.