kiyoon / magick.nvim

magick neovim lua bindings
5 stars 0 forks source link

Incorrect PATH for NixOS #1

Open paladhammika opened 3 days ago

paladhammika commented 3 days ago

Would you be able to set the PATH to be more distro-agnostic? Currently the plugin cannot see pkgconfig or magick on a Nix system.

kiyoon commented 3 days ago

How does path work on Nix?

I'm looking to add support for most distros if possible, and later I'll consider some alternative configuration methods. For this kind of plugin I feel like it should just work.

paladhammika commented 2 days ago

My knowledge is limited. NixOS will state of the latest build to a directory called /run/current-system/sw...

Within are the below contents

image

For the user similar symlinks are found in ~/.nix-profile image

A bit on how the Nix store works: https://nix.dev/manual/nix/2.18/package-management/profiles

kiyoon commented 2 days ago

In the README, I wrote down what I had to change for my distro and package manager. Maybe you simply need to add another path to the list.

Can you try to alter it yourself and come up with a solution?