Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-07 Thread Teo Klestrup Röijezon
Hi Erik, Strictly speaking then parsets-playground.nix is the only one that's required here. parsets.nix is for the ParseTS binary itself (a run-of-the-mill Haskell project) and default.nix is only there to get nix-build and nix-shell working. Didn't realize that the exec part was there in mine

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-07 Thread 4levels
Hi Teo, thank you for the brief introduction into the different contexts, I was not aware of this at all and was using trial-and-error to get things running. I still need to learn a lot here, that's for sure! Regarding parseTS: do I need to setup something similar to your parsets.nix (adjusted

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-07 Thread 4levels
Hi Teo, My previous email is too long and being considered for moderation by the nix-dev mailing list. I forgot to also include the files based on your code. This is where the build fails: ./mancloud-play-wrapper.nix:37:17 - the script line of the systemd.service declaration

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-07 Thread Teo Klestrup Röijezon
Hey Erik, > how does the sequence of the nixops modify files matter? The files listed are merged when building the actual NixOS configurations. > when to use with *import ;* or *{ stdenv, lib, config, pkgs, ... }:* and what are the differences I think there are actually three different

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-07 Thread 4levels
Hi Teo, I knew I was getting off course with my conclusions, thanks for clarifying this! I'll try to give you an overview, I don't mind adding you to our private Bitbucket repo if you'd like to see all files and folders. I still don't know where I should add the statements to have the play

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-05 Thread Teo Klestrup Röijezon
HI Erik, That's pretty much entirely wrong. :P ParseTS is just a linter script for the game scripting language TorqueScript. ParseTS-Playground was a pastebin that would run the submitted code through the linter. For example, see https://parsets-playground.nullable.se/snippets/13. The datastore

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-05 Thread 4levels
Hi Teo, Thank you for your explanation and quick qualitative response! I'll be looking at your code asap and report back with my experiences ;-) Kind regards, Erik On Tue, Jul 5, 2016, 22:08 Teo Klestrup Röijezon wrote: > Hi, > > A JRE should be enough for running it, but

Re: [Nix-dev] Tips on deploying a Scala Play application

2016-07-05 Thread Teo Klestrup Röijezon
Hi, A JRE should be enough for running it, but you need sbt and a JDK for building. I've got a derivation for a Play website at https://github.com/BlocklandGlass/ParseTS-Playground/blob/master/parsets-playground.nix, with the NixOS/NixOps setup at

[Nix-dev] Tips on deploying a Scala Play application

2016-07-05 Thread 4levels
Hi Nix-devs, This is a plain request for assistance / best practices for using Nixos with Java / Scala / Play. Akka with EventSourcing are also a topic of interest. I'm currently trying to get a Scala Play app up and running on my nixOps deployed machines. As I'm very unfamiliar with running