-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/nixos #1250
Fix/nixos #1250
Conversation
add formatter setting for .nix file
but when i'm using your fork:
maybe add this package? i tried use |
agree, it would be nice. |
I tried excluding unsupported packages, will this work? |
I had raised an ambiguous problem., |
ys, add a github action would be nice. |
fixed an issue where conditional branching based on version was not appropriate. fixed extraHaskellPackages document filtered packages of buildEnv by unsupport system move luarocks to extraPackages from extraLuaPackages add tree-sitter cli
add environment to evaluate nvimdots in a nix environment.
I try not to place lazy-lock.json under $XDG_CONFIG_HOME/nvimdots, but should I place it there? |
Before adding the github actions, I'll check them for a bit. |
interesing, this issue doesn't seem to happen on my end.
i'm fine placing the lock file in or out, as long as it got managed by the user or via our nvim config. Personally i like to place the lock file in |
@CharlesChiuGit Would verbose logging provide additional insights? cd ~/.local/share/nvimdots/site/lazy/copilot.lua/
git status && GIT_TRACE=1 GIT_CURL_VERBOSE=1 GIT_TRACE_PACKET=1 GIT_TRACE_SETUP=1 GIT_TRACE_SHALLOW=1 git restore --source=HEAD :/ I once came across this and eventually realized it was a permission issue. Specifically, the default umask got accidentally changed, leaving that git folder wide open for everyone. By the way can u please help me do a sanity check to ensure that the executables are correctly linked on macOS? I'm just diving into Nix so I might not be much help here. Basically, all u need to do is run |
Maybe I can incorporate a simple test script into P.S |
@Jint-lzxy |
sure, let me check. hope i will know how to use those tools soon lol |
Fixed three things:
|
7a3649a
to
85133d7
Compare
I have probrem, loop never ends on linux. |
add script to check whether binary of installed by mason link to `/nix/store` rename test.nix to testEnv.nix put `lazy-lock.json` under `$XDG_CONFIG_HOME/$NVIM_APPNAME`
cd8f895
to
e929c3f
Compare
Signed-off-by: MiSumiSumi <[email protected]>
Can you check node path with |
I don't know if |
i disable system node temporarily and enter devshell, now all |
Finally, regarding the github actions that update |
I prefer update And I prefer to update |
add workflow of auto update flake.lock
I add workflow of auto flake update. |
I think all the work is completed, what do you think? |
Is this error been fixed?
i cant test it right now since i don't have my mac around at the weekend. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@CharlesChiuGit Apple does indeed have a thorough documentation on dynamic library usage tucked away in its documentation archives (way better than what it offers nowadays lol). It's definitely worth a look if u're into this stuff XD |
@CharlesChiuGit @CharlesChiuGit |
I found two problems with the previous PR.
One is with errors in the current release version of NixOS (23.11), another is with
luarocks
not being set in the path.I will therefore fix these issues.
For verification purposes, we have also created a minimal
devshell
environment that runs the settings of this repository.This will make it possible to verify using a
nix
environment, even if NixOS or HomeManager are not in place.Since
NVIM_APPNAME
is used, there is no impact on the existing environment.If there is a slight problem, you may need to put in the effort to keep
flake.lock
up to date.This can be automated with github actions, just like updating
lazy-lock.json
.Also, since it doesn't relate to the module part, you may want to update it only when necessary.
I would like to add github actions if necessary.
@CharlesChiuGit
If possible, could you please confirm if this
devshell
works in anarm Mac
environment?It will start with
nix develop
.