Skip to content

Instantly share code, notes, and snippets.

View PerchunPak's full-sized avatar

Perchun Pak PerchunPak

View GitHub Profile
@PerchunPak
PerchunPak / catppuccin-vscode-mocha.json
Created November 17, 2024 19:55
catppuccin-vscode-mocha.json
{
"name": "Catppuccin Mocha",
"type": "dark",
"colors": {
"focusBorder": "#cba6f7",
"foreground": "#cdd6f4",
"disabledForeground": "#a6adc8",
"widget.shadow": "#18182580",
"selection.background": "#cba6f766",
"descriptionForeground": "#cdd6f4",

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review


x86_64-darwin

@PerchunPak
PerchunPak / flake.nix
Created November 16, 2024 21:57
Minimal flake.nix
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs =
{ nixpkgs, ... }:
let
lib = nixpkgs.lib;
forAllSystems = with lib; mergeAttrsList (forEach lib.platforms.all);
@PerchunPak
PerchunPak / pr.patch
Created October 10, 2024 18:48
WIP automatic nvimRequireCheck for vim plugins (nixpkgs)
diff --git a/maintainers/scripts/pluginupdate-py/pluginupdate.py b/maintainers/scripts/pluginupdate-py/pluginupdate.py
index afe60069dd29..3774bee702cf 100644
--- a/maintainers/scripts/pluginupdate-py/pluginupdate.py
+++ b/maintainers/scripts/pluginupdate-py/pluginupdate.py
@@ -132,6 +132,13 @@ class Repo:
return loaded["rev"], updated
+ @retry(urllib.error.URLError, tries=4, delay=3, backoff=2)
+ def get_path(self) -> Path:

Result of nixpkgs-review run on x86_64-linux 1

5 packages marked as broken and skipped:
  • lua52Packages.neotest
  • lua53Packages.neotest
  • lua54Packages.neotest
  • lua54Packages.sqlite
  • luajitPackages.neotest
structuredAttrs is enabled
Sourcing luarocks-move-data-hook.sh
Using luarocksMoveDataHook
Sourcing vim-command-check-hook.sh
Using vimCommandCheckHook
Sourcing vim-gen-doc-hook
Sourcing neovim-require-check-hook.sh
Using neovimRequireCheckHook
Sourcing luarocks-check-hook.sh
_addToLuaPath called for dir /nix/store/vidvbgkw4hlyd34cx01yf59gi8q5h6j4-lua-5.1.5
structuredAttrs is enabled
Sourcing vim-command-check-hook.sh
Using vimCommandCheckHook
Sourcing vim-gen-doc-hook
Sourcing neovim-require-check-hook.sh
Using neovimRequireCheckHook
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/fv37nyjhj5liwsbjffiabsqfp74hkvy9-source
source root is source
@PerchunPak
PerchunPak / generated.nix
Created August 20, 2024 17:57
generated using new updater
diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix
index d02d53651523..9ec951992607 100644
--- a/pkgs/applications/editors/vim/plugins/generated.nix
+++ b/pkgs/applications/editors/vim/plugins/generated.nix
@@ -65,12 +65,12 @@ final: prev:
CopilotChat-nvim = buildVimPlugin {
pname = "CopilotChat.nvim";
- version = "2024-07-29";
+ version = "2024-08-18";
(process:255302): Timings-DEBUG: 12:32:08.740: 0.000000 (0.000000): Started
(process:255302): Timings-DEBUG: 12:32:08.740: 0.000827 (0.000827): ../source/rofi.c:main:884
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001061 (0.000234): ../source/rofi.c:main:935
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001101 (0.000040): ../source/rofi.c:main:942 Setup Locale
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001180 (0.000079): ../source/rofi.c:main:944 Collect MODES
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001191 (0.000011): ../source/rofi.c:main:946 Setup MODES
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001201 (0.000010): ../source/rofi.c:main:950 Setup mainloop
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001280 (0.000079): ../source/rofi.c:main:953 NK Bindings
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001455 (0.000175): ../source/xcb.c:display_setup:1507 Open Display
(process:255302): Timings-DEBUG: 12:32:08.741: 0.001789 (0.000334): ../source/xcb.c:display_setup:1523 Set
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# trying /home/perchun/dev/RustPython/pylib/Lib/zipimport.py
# /home/perchun/dev/RustPython/pylib/Lib/__pycache__/zipimport.rustpython-01.pyc matches /home/perchun/dev/RustPython/pylib/Lib/zipimport.py
# code object from '/home/perchun/dev/RustPython/pylib/Lib/__pycache__/zipimport.rustpython-01.pyc'
import 'time' # <class '_frozen_importlib.BuiltinImporter'>
import 'zipimport' # <_frozen_importlib_external.SourceFileLoader object at 0x5d613b08d510>
# /home/perchun/dev/RustPython/pylib/Lib/encodings/__pycache__/__init__.rustpython-01.pyc matches /home/perchun/dev/RustPython/pylib/Lib/encodings/__init__.py
# code object from '/home/perchun/dev/RustPython/pylib/Lib/encodings/__pycache__/__init__.rustpython-01.pyc'
# trying /home/perchun/dev/RustPython/pylib/Lib/encodings/aliases.py
# /home/perchun/dev/RustPython/pylib/Lib/encodings/__pycache__/aliases.rustpython-01.pyc matches /home/perchun/dev/RustPython/pylib/Lib/encodings/aliase