Closed jpotier closed 3 years ago
I don't understand what's going on, but it seems that switching from fetchFromBitbucket to fetchzip fixes the issue.
[mcgibbon@pn50:~/projects/nixpkgs]$ git diff
diff --git a/pkgs/applications/audio/vcv-rack/default.nix b/pkgs/applications/audio/vcv-rack/default.nix
index 18d8f7415b5..3f2c924f91c 100644
--- a/pkgs/applications/audio/vcv-rack/default.nix
+++ b/pkgs/applications/audio/vcv-rack/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, makeWrapper, fetchFromBitbucket, fetchFromGitHub, pkgconfig
+{ stdenv, makeWrapper, fetchzip, fetchFromBitbucket, fetchFromGitHub, pkgconfig
, alsaLib, curl, glew, glfw, gtk2-x11, jansson, libjack2, libXext, libXi
, libzip, rtaudio, rtmidi, speex, libsamplerate }:
@@ -7,10 +7,8 @@ let
# Others are downloaded with `make deps`. Due to previous issues with the
# `glfw` submodule (see above) and because we can not access the network when
# building in a sandbox, we fetch the dependency source manually.
- pfft-source = fetchFromBitbucket {
- owner = "jpommier";
- repo = "pffft";
- rev = "74d7261be17cf659d5930d4830609406bd7553e3";
+ pfft-source = fetchzip {
+ url = "https://bitbucket.org/jpommier/pffft/get/74d7261be17cf659d5930d4830609406bd7553e3.tar.gz";
sha256 = "084csgqa6f1a270bhybjayrh3mpyi2jimc87qkdgsqcp8ycsx1l1";
};
nanovg-source = fetchFromGitHub {
Not necessarily the right solution. Is it possible there's something wrong in a corner case with the fetchFromBitbucket
function?
Rewrote my comment after a little more investigation: Take a look at this commit on the VCV Rack v1 development branch: https://github.com/VCVRack/Rack/commit/2db08f15a00f6792bb3a45db31dd13f94966beed
It looks like the problem isn't an edge case with the way the nixpkgs BitBucket fetcher works—the pffft Mercurial repo simply got deleted from BitBucket, so now the latest development version of VCV Rack pulls a zip file of it from the VCV Rack web site instead.
Seems like a PR for VCV derivation is in order. I can do it, if you haven't yet created one @ddelabru
Please go ahead, @jpotier; I've been spending lots of time with a baby and only short bursts of time in front of a keyboard 😊
Change has been merged, closing. Please reopen if the problem is not fixed.
Describe the bug VCV Rack doesn't build anymore (again), and I'm a bit puzzled as to what is going on.
To Reproduce Steps to reproduce the behavior:
nix repl -I nixpkgs=. '<nixpkgs>'
:b vcv-rack
Expected behavior I'm expecting this build to finish successfully.
Screenshots
Additional context Add any other context about the problem here.
Notify maintainers @Moredread @nathyong
Metadata
"x86_64-linux"
Linux 5.10.2, NixOS, 21.03pre-git (Okapi)
yes
yes
nix-env (Nix) 2.3.10
"nixos-21.03pre259605.57a787c9fa9, overlay-personal"
/nix/store/8vl2ysr33rfsvrxdgd1i43rmr6sh06wi-nixpkgs-src
Maintainer information: