Skip to content

dbdev wrong architecture #504

@oschrenk

Description

@oschrenk

Bug report

Describe the bug

  1. dbdev formula for arm links wrong binary.
  2. dbdev 0.1.6 doesn't binary for macos-arm platform

To Reproduce

brew install supabase/tap/dbdev
dbdev
exec: Failed to execute process '/opt/homebrew/bin/dbdev': Bad CPU type in executable.

Expected behavior

working binary for arm

Additional context

See https://github.com/supabase/homebrew-tap/blob/5436c1215969f55bebd8bc73a2214df9baa7d66f/dbdev.rb#L11C5-L18C8

if Hardware::CPU.arm?
      url "https://github.com/supabase/dbdev/releases/download/v0.1.6/dbdev-v0.1.6-macos-amd64.tar.gz"
      sha256 "64d2aaba1e57383a9ca5fc0cdaf4ccc8d499ca19cf07270f0c3cda4383dbbfbc"

      def install
        bin.install "dbdev"
      end
    end

That should be arm

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions