Done. No success yet :/

Same error:

```

git: 'remote-nostr' is not a git command. See git --help'.

```

Reading the [git-scm docs](https://git-scm.com/docs/gitremote-helpers) it says sth about

"git remote-"

I guess that should be the mechanism git-remote-nostr is using but I haven’t checked your code.

If I try to invoke the binary cargo installed it is auto-completed and in its place on my PATH.

Could not say what I'm doing wrong :(

Reply to this note

Please Login to reply.

Discussion

that error suggests that git cannot find the remote helper.

in a vanilla setup it will use the binary so long as its in the $PATH and called git-remote-.

have you set the `GIT_EXEC_PATH` environment variable by any change? in that instance the remote helper needs to be in that location.

Can you share your nix devshell setup, or at least the relevant sections?

You might be right... I setup the binary cargo installed in the devshell flake not in the configuration.nix where the git package is defined on the nixOS level.

Let me try sth and update you with result. Then if it doesn't help I'll share my nix setup!

My lord it's fixed!

Thanks for the hints!

Actually what was wrong is that I added git-remote-nostr to path with a tilde like

'~/.cargo/bin'

What worked was

'$HOME/.cargo/bin'

I don't actually know why but in the shell everything seemed fine I could invoke the command but git could not access it the first way.

I'll zap your Offer in SatShoot!

Thanks for the help amd for your great project!

I feel blessed!

Wow. Thanks for the mega zap!

Let me know how you get on and I'm always here if you need anything or if you have any questions / feedback.

How can I make the installation experience easier for NixOS users?

The best would be to package ngit and git-remote-nostr with nix and publish it to github. [Hydra](https://github.com/NixOS/hydra) can help with CI too.

This way it will be available on nixos.org and easily searchable and be included in a nix config.

Also publishing something nix-bitcoin does like a configurable, modularized template helps a lot. It's a lot of work though.

Thanks, I already a nix flake to manage the dev environment and for running CI tests. I'd like to use it for cross platform builds and stop relying on github actions.

That's great to hear!

So you're familiar with nix.

This is the way :)