-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
33 lines (29 loc) · 916 Bytes
/
flake.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
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = { self, nixpkgs }: {
# nix develop
devShells.x86_64-linux.default = let pkgs = nixpkgs.legacyPackages.x86_64-linux; in pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (ps: with ps; [
ipython
strawberry-graphql
typer
redis
bcrypt
pydantic
]
++ strawberry-graphql.optional-dependencies.debug-server
++ uvicorn.optional-dependencies.standard))
#pkgs.redis
# To get HEXPIRE we need redis 7.4.0. They also changed the license to non-free, so I plan to move to
# valkey once they implement it:
# https://github.com/valkey-io/valkey/issues/1070
(pkgs.callPackage ./redis-7.4.0.nix {})
pkgs.nodejs_latest
];
};
};
}