Closed colemickens closed 8 years ago
mkdir temp; cd temp
darcs clone https://pijul.org
darcs show tags
They removed the 0.1 tag, it seems. Will send a PR to bump to 0.2.
Wait. I'm not sure what this means. We just released Pijul 0.2, which is a complete rewrite, with a totally unrelated darcs repository.
(btw while we're super happy to be in NixOS, none of the authors submitted Pijul, nor considered it ready at version 0.1).
@pijul There is a definition for pijul 0.1
in nixpkgs right now.
It referenced the 0.1
tag in the darcs repo, which now no longer exists. This means pijul
is currently broken for anyone who didn't install it before you changed repos.
I'm working on a fix to move to 0.2
but it looks like maybe the output directory structure has changed, so I need to wait for my rebuild to finish before I can send a PR.
Ok. The darcs repository http://pijul.org shares no patch with the previous one. Not only has the directory structure changed, even the programming language has changed.
We're now using Rust, and we do have a .nix file at the root of our repository. The github mirror has it too: https://github.com/pijul/pijul/blob/master/default.nix
@pijul Can you please check in your Cargo.lock file? I can't add this to nixpkgs without it.
Done!
I'm a bit impeded now because this is too strict and cd
's to $src
to look for the Cargo.lock
.
/cc maintainer @puffnfresh.
The WIP is here: https://github.com/colemickens/nixpkgs/commit/03effaa946a2f1d9c5563f7cb7caf482b9b6ab1b
Still suspect problem is here: https://github.com/NixOS/nixpkgs/blob/master/pkgs/build-support/rust/fetch-cargo-deps#L24
@colemickens can we parameterise fetch-cargo-deps with a buildDir
or something?
Hm, it looks like fetch-cargo-deps
already takes $src
as a parameter src=$(realpath $1)
. Maybe my suspicion is wrong?
@vcunat @colemickens @pijul I have it working and packaged in #13027.
This was fixed in #13027. Thanks @puffnfresh.
Here's the log: https://gist.github.com/9f04ad2893fe1ace2096
Looks like maybe the git tag was deleted? I'll try to send a PR to fix shortly and reach out to the Pijul folks about what happened.