You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey I tried first installing the version in nixpkgs but it's the old version where it fails to build due to a version constraint so I then tried to build from source.
I just git cloned the repo and used nix-build release.nix and tried to run the bin in the release directory. However regardless of calling it directly via ./update-nix-fetchgit or using ../../release/bin/update-nix-fetchgit the error in the title occurs.
On a side not I tried the instructions in the Readme for building from source to see if I could get it to work that way but after trying nix-shell and entering the new environment typing cabal build fails with command not found but that could be something to do with me being new to Nix or something.
Thanks!
The text was updated successfully, but these errors were encountered:
Once I've finished my rebuild of nixpkgs I'll try that thanks!
Does it work for you? I don't understand nix yet so it's highly likely I just don't understand :)
On 19 May 2017, at 7:35 pm, Joe Hermaszewski ***@***.***> wrote:
To solve your immediate problem: You probably don't have nix-prefetch-git installed.
Clearly we need to improve the build process too!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
It's tempting to run some TH during build time which looks to see if the nix-prefetch-git executable is present in PATH and is in the nix store and if so use the full path.
Hey I tried first installing the version in nixpkgs but it's the old version where it fails to build due to a version constraint so I then tried to build from source.
I just git cloned the repo and used
nix-build release.nix
and tried to run the bin in the release directory. However regardless of calling it directly via ./update-nix-fetchgit or using ../../release/bin/update-nix-fetchgit the error in the title occurs.On a side not I tried the instructions in the Readme for building from source to see if I could get it to work that way but after trying nix-shell and entering the new environment typing cabal build fails with command not found but that could be something to do with me being new to Nix or something.
Thanks!
The text was updated successfully, but these errors were encountered: