-
Notifications
You must be signed in to change notification settings - Fork 3
/
flake.nix
39 lines (35 loc) · 1.22 KB
/
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
34
35
36
37
38
39
{
description = "Project Hyperlink's development environment";
inputs = {
flakey-devShells.url = "https://flakehub.com/f/GetPsyched/not-so-flakey-devshells/0.x.x.tar.gz";
flakey-devShells.inputs.nixpkgs.follows = "nixpkgs";
nixpkgs-fluent.url = "github:getpsyched/nixpkgs/python-fluent";
};
outputs = inputs@{ nixpkgs, flakey-devShells, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
pkgs-fluent = inputs.nixpkgs-fluent.legacyPackages.${system};
flakey-devShell-pkgs = flakey-devShells.outputs.packages.${system};
in
{
devShells.${system}.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
(flakey-devShell-pkgs.default.override { environments = [ "nix" "python" ]; })
(flakey-devShell-pkgs.vscodium.override { environments = [ "nix" "python" ]; })
railway
pkgs-fluent.python311Packages.fluent-runtime
(python311.withPackages (p: with p; [
asyncpg
discordpy
google-api-python-client
google-auth-httplib2
google-auth-oauthlib
python-dotenv
pytz
tabulate
]))
];
};
};
}