garnix-io / issues

Public issue tracker for garnix.io
15 stars 0 forks source link

garnix.yaml fails without the exclude bit #18

Closed zimbatm closed 2 years ago

zimbatm commented 2 years ago
builds:
  include:
    - 'legacyPackages.x86_64-linux.*'
    - 'devShell.x86_64-linux'

It looks like it's expecting the exclude to be present:

DecodeConfigError {message = "Aeson exception:\nError in $: \n Previous branch failure: Error in $.builds: key "exclude" not found\nexpected Null, but encountered Object"}
jkarni commented 2 years ago

Yeah, thanks for the report!

(Also legacyPackages is not supported. Just packages, checks, devShells and nixConfigurations)

On Tue, May 17, 2022, 12:34 PM Jonas Chevalier @.***> wrote:

builds: include:

  • 'legacyPackages.x86_64-linux.*'
  • 'devShell.x86_64-linux'

It looks like it's expecting the exclude to be present:

DecodeConfigError {message = "Aeson exception:\nError in $: \n Previous branch failure: Error in $.builds: key "exclude" not found\nexpected Null, but encountered Object"}

— Reply to this email directly, view it on GitHub https://github.com/garnix-io/issues/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMUVGTWBZO7K4MQ43VSBPTVKNYZ5ANCNFSM5WEOFHJQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

zimbatm commented 2 years ago

(yeah I noticed, I was hoping to force this :-p)

jkarni commented 2 years ago

This is fixed now!