-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshell.nix
47 lines (37 loc) · 899 Bytes
/
shell.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "env";
#src = ./.;
# Customizable development requirements
nativeBuildInputs = [
git
gnused
gcc
opam m4
pkg-config
gnumake
autoconf automake libtool
curl
jq
tmux
postgresql_16
cacert
corepack_22
nodejs_22
nodePackages_latest.vercel
nodePackages_latest.pnpm
nodePackages_latest.prisma
];
buildInputs = [
openssl
zlib
];
shellHook = ''
echo 'nixified environment'
'';
env = {
PRISMA_QUERY_ENGINE_LIBRARY = "${pkgs.prisma-engines}/lib/libquery_engine.node";
PRISMA_QUERY_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/query-engine";
PRISMA_SCHEMA_ENGINE_BINARY = "${pkgs.prisma-engines}/bin/schema-engine";
};
}