nix: Darwin SDK packages added While some Darwin packages were already added through SystemConfiguration, the CoreServices and SystemConfiguration were both missing. This change adds these to ensure compilation on Darwin systems.
Dependencies
- [2]
EIIUUAKGnix: Install and initialize a Postgres DB For a persistance layer, this change introduces postgresql as dependency. The daemon is started when `nix-shell` is invoked. `pg_ctl stop` is not invoked, and this has to be done by a developer. Data is persisted in a tmp directory, which is added to the ignore file. - [3]
K4JNAJOFdatabase: Connect to postgres on Rocket boot As database I've chosen PostgreSQL, as my personal experience has been good with it. This change allows Rocket to connect to the database on booting the server. It depends on the DATABASE_URL being set, and for now circumvents the Rocket config helpers as it seemed faster to be up and running this way. - [4]
W3M3C7CCInitial commit This change includes a very small hello world application server written in Rust using Rocket.rs. Managing dependencies is done with Nix as that works well between Linux and Mac for me.
Change contents
- replacement in shell.nix at line 20
pkgs.darwin.apple_sdk.frameworks.SystemConfiguration];] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin(with pkgs.darwin.apple_sdk.frameworks; [CoreServicesSecuritySystemConfiguration]);