Remove direnv setup, use parent.
This commit is contained in:
parent
3fb564ff19
commit
ea30bc9ed4
34
default.nix
34
default.nix
@ -1,34 +0,0 @@
|
|||||||
let
|
|
||||||
unstableTarball = fetchTarball
|
|
||||||
"https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz";
|
|
||||||
pkgs = import <nixpkgs> { };
|
|
||||||
unstable = import unstableTarball { };
|
|
||||||
|
|
||||||
in with pkgs;
|
|
||||||
pkgs.mkShell rec {
|
|
||||||
name = "rust";
|
|
||||||
buildInputs = [
|
|
||||||
entr
|
|
||||||
openssl
|
|
||||||
pkg-config
|
|
||||||
unstable.cargo
|
|
||||||
unstable.rustc
|
|
||||||
unstable.rustfmt
|
|
||||||
unstable.rust-analyzer
|
|
||||||
postgresql
|
|
||||||
diesel-cli
|
|
||||||
];
|
|
||||||
# By default setup dev environment.
|
|
||||||
AWS_ACCESS_KEY_ID = "0BO8BCZZXV3SFZ1B43W1";
|
|
||||||
AWS_SECRET_ACCESS_KEY = "x6SjXJZuP1tMzxH/a6xEFDcMw4XB8qCfRPNbuGzN";
|
|
||||||
DATABASE_USER = "comics_devel";
|
|
||||||
DATABASE_NAME = "comics_devel";
|
|
||||||
DATABASE_HOST = "postgres.h.xinu.tv";
|
|
||||||
DATABASE_URL =
|
|
||||||
"postgres://${DATABASE_USER}@${DATABASE_HOST}/${DATABASE_NAME}";
|
|
||||||
PROD_DATABASE_USER = "comics";
|
|
||||||
PROD_DATABASE_NAME = "comics";
|
|
||||||
PROD_DATABASE_HOST = "postgres.h.xinu.tv";
|
|
||||||
PROD_DATABASE_URL =
|
|
||||||
"postgres://${PROD_DATABASE_USER}@${PROD_DATABASE_HOST}/${PROD_DATABASE_NAME}";
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user