diff --git a/shell.nix b/shell.nix index 0474eb65922..c336dbc7c5d 100644 --- a/shell.nix +++ b/shell.nix @@ -16,6 +16,15 @@ with pkgs; let pkgs.stdenv.mkDerivation rec { inherit name; url = "https://github.com/anza-xyz/agave/releases/download/${version}/${filename}"; + + nativeBuildInputs = [ + autoPatchelfHook + ]; + + autoPatchelfIgnoreMissingDeps = true; + + buildInputs = with pkgs; [stdenv.cc.cc.libgcc stdenv.cc.cc.lib] ++ lib.optionals stdenv.isLinux [ libudev-zero ]; + src = pkgs.fetchzip { inherit url sha256; };