Open ConorHK opened 1 day ago
I can reproduce this locally
❯ nix build
Do you want to allow configuration setting 'extra-substituters' to be set to 'https://devenv.cachix.org' (y/N)? This may allow the flake to gain root, see the nix.conf manual page. y
do you want to permanently mark this value as trusted (y/N)? y
Do you want to allow configuration setting 'extra-trusted-public-keys' to be set to 'devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=' (y/N)? This may allow the flake to gain root, see the nix.conf manual page. y
do you want to permanently mark this value as trusted (y/N)? y
warning: ignoring untrusted substituter 'https://devenv.cachix.org'
warning: In a derivation named 'neovim-unwrapped-0.9.5', 'structuredAttrs' disables the effect of the derivation attribute 'disallowedReferences'; use 'outputChecks.<output>.disallowedReferences' instead
~/blink.cmp on main
❯ ls -lah result/target/release/libblink_cmp_fuzzy.so
lrwxr-xr-x 1 root wheel 96 Jan 1 1970 result/target/release/libblink_cmp_fuzzy.so -> /nix/store/g5gk6nh9vi071ssjpff80r93kagb3i2w-blink-fuzzy-lib-2024-08-02/lib/libblink_cmp_fuzzy.so
~/blink.cmp on main
❯ ls -lah /nix/store/g5gk6nh9vi071ssjpff80r93kagb3i2w-blink-fuzzy-lib-2024-08-02/lib/libblink_cmp_fuzzy.so
ls: cannot access '/nix/store/g5gk6nh9vi071ssjpff80r93kagb3i2w-blink-fuzzy-lib-2024-08-02/lib/libblink_cmp_fuzzy.so': No such file or directory
I think the culprit is the symlinking in the preInstall
Including the flake in my inputs make sthe plugin available to source. However, trying to initialize it with a minimal setup fails:
causes an error on every letter inserted
With no config (i.e. download is true by default):
Im somewhat new to nix so apologies if its a misunderstanding on my part - but from the flake it doesn't seem like the binary is getting bundled in the build