I work under NixOS, and I love it so far.
For my coding projects, I'm trying to achieve separate development environments. So for example for my Scala/node.js project, I have written default.nix for nix-shell :
with import <nixpkgs> {}; {
tarifs2Env = stdenv.mkDerivation {
name = "webapp";
buildInputs = with pkgs; [
sbt
nodejs
nodePackages.gulp
];
shellHook = ''
'';
};
}
So far so good. Now I would like to add a database, posgtres for example. Is there a way to add a service to a nix-shell?