Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Pete Hayes
    @petehayes102
    @rushmorem Hey mate. I’m around if you want to try and debug those GH issues here.
    Rushmore Mushambi
    @rushmorem
    @petehayes102 Thanks.
    inauth_cli user add rushmorem says MissingConf
    What steps do I need to do to setup my environment after doingcargo build --release?
    Pete Hayes
    @petehayes102
    Sorry...Gitter only showed me the last line of the message. Just seen the rest.
    Rushmore Mushambi
    @rushmorem
    It's OK. Yes I did. However, NixOS is a little bit different from other distros.
    Pete Hayes
    @petehayes102
    Errors need a big overhaul. There's a ticket for it. Just not enough hours in the day
    Rushmore Mushambi
    @rushmorem
    I understand.
    Pete Hayes
    @petehayes102
    I'd be interested to know what needs to be changed/added to the docs if you have time to note. Anyway, to your problem...
    Rushmore Mushambi
    @rushmorem
    Sure. I will note that down. I was about to open a ticket when your chat message came in.
    Pete Hayes
    @petehayes102
    Argh. Trying to view source code on an iOS device is a nightmare. I'll just grab my laptop.
    Rushmore Mushambi
    @rushmorem
    OK :)
    Pete Hayes
    @petehayes102
    Ok, so it’s looking for the Auth server config (auth.json) in /usr/local/etc/intecture/ and /etc/intecture/
    That may not be so good for NixOS?
    Rushmore Mushambi
    @rushmorem
    NixOS doesn't have /usr and configuration is done at install time plus /etc is rarely used.
    Pete Hayes
    @petehayes102
    Right…so where would that conf normally live? It just dawned on me that you probably didn’t use the Makefile to build the project because of the incompatibilities...
    Rushmore Mushambi
    @rushmorem
    It's best to expose the path to the config file via an environment variable or a command line option.
    Yes I didn't use the Makefile. All I have are binaries.
    Configuration is done via modules.
    Pete Hayes
    @petehayes102
    Agreed, it would have been better to provide a flag to override the conf location.
    Seems I have a lot to learn about NixOS!
    To get it working, you could manually create the path /etc/intecture/ and create an auth.json file in there. Copy the one out of resources/auth.json.tpl, replacing {{sysconfdir}} with /etc/intecture/
    The Makefile normally does all this for you
    Rushmore Mushambi
    @rushmorem
    Done. It worked. Thanks!
    Pete Hayes
    @petehayes102
    Cool. Glad to hear it :)