I work under NixOS and I really like it.
For my coding projects, I am trying to reach separate development environments. So, for example, for my Scala / node.js project, I wrote 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, for example posgtres. Is there a way to add a service to nix-shell?
source share