diff --git a/bin/dune_init.ml b/bin/dune_init.ml index 409949d597f..db72fdf9b52 100644 --- a/bin/dune_init.ml +++ b/bin/dune_init.ml @@ -404,7 +404,6 @@ module Component = struct [ { Package_dependency.name = Package.Name.of_string "ocaml" ; constraint_ = None } - ; { name = Package.Name.of_string "dune"; constraint_ = None } ] in let packages = Package.Name.Map.singleton (Package.name package) package in diff --git a/test/blackbox-tests/test-cases/dune-init.t/run.t b/test/blackbox-tests/test-cases/dune-init.t/run.t index 9b13c2c9d33..d874281a37f 100644 --- a/test/blackbox-tests/test-cases/dune-init.t/run.t +++ b/test/blackbox-tests/test-cases/dune-init.t/run.t @@ -357,7 +357,7 @@ In particular, the `dune-project` file has the expected content: (name new_exec_proj) (synopsis "A short synopsis") (description "A longer description") - (depends ocaml dune) + (depends ocaml) (tags ("add topics" "to describe" your project))) @@ -384,8 +384,8 @@ And the opam file will be generated as expected doc: "https://url/to/documentation" bug-reports: "https://github.com/username/reponame/issues" depends: [ - "ocaml" $dune {>= "3.17"} + "ocaml" "odoc" {with-doc} ] build: [ @@ -467,7 +467,7 @@ In particular, the `dune-project` file has the expected content: (name new_lib_proj) (synopsis "A short synopsis") (description "A longer description") - (depends ocaml dune) + (depends ocaml) (tags ("add topics" "to describe" your project))) @@ -494,8 +494,8 @@ And the opam file will be generated as expected doc: "https://url/to/documentation" bug-reports: "https://github.com/username/reponame/issues" depends: [ - "ocaml" "dune" {>= "3.17"} + "ocaml" "odoc" {with-doc} ] build: [