Skip to content

Commit

Permalink
refactor: remove pointless module alias (#8097)
Browse files Browse the repository at this point in the history
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
  • Loading branch information
rgrinberg authored Jul 3, 2023
1 parent 2c8c7a4 commit 56623a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/dune_rules/pkg_rules.ml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ let sys_poll =
let+ os_family = sys_poll_memo Sys_poll.os_family in
{ os_version; os_distribution; os_family })

module Source = Dune_pkg.Lock_dir.Source

module Variable = struct
type value = OpamVariable.variable_contents =
| B of bool
Expand Down Expand Up @@ -1214,7 +1212,7 @@ let gen_rules context_name (pkg : Pkg.t) =
List.map pkg.info.extra_sources ~f:(fun (local, fetch) ->
let extra_source = Paths.extra_source pkg.paths local in
let rule =
match (fetch : Source.t) with
match (fetch : Lock_dir.Source.t) with
| External_copy (loc, src) ->
( loc
, Action_builder.copy ~src:(Path.external_ src) ~dst:extra_source )
Expand Down

0 comments on commit 56623a3

Please sign in to comment.