Skip to content

Commit

Permalink
🔖 Release 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
j1g5awi committed Aug 11, 2024
1 parent 2d3e145 commit 070aaca
Show file tree
Hide file tree
Showing 6 changed files with 1,266 additions and 1,504 deletions.
2 changes: 2 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
use flake . --impure
source .venv/bin/activate
2 changes: 1 addition & 1 deletion OlivOS/nonebot/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from nonebot import get_driver
from nonebot.matcher import Matcher
from nonebot.adapters import Bot, Event
from nonebot.plugin.plugin import Matcher
from nonebot.plugin import PluginMetadata, on

from .middlewares import _middlewares, import_middleware
Expand Down
27 changes: 27 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 34 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
description = "My flake with dream2nix packages";

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
};

outputs =
inputs @ { self
, nixpkgs
, ...
}:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
system = "x86_64-linux";
};
in
{
devShells.${system} = {
default = pkgs.mkShell {
packages=[pkgs.python39];
NIX_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc
];
NIX_LD = pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker";
shellHook = ''
export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
''
;
};
};
};
}
Loading

0 comments on commit 070aaca

Please sign in to comment.