Skip to content

Commit

Permalink
mrtrix: 3.0.2 -> unstable-2021-11-25
Browse files Browse the repository at this point in the history
The latest stable version fails to build with latest eigen (> 3).
MRtrix3/mrtrix3#2368
  • Loading branch information
arkivm committed Dec 1, 2021
1 parent ac72629 commit b1d95dc
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkgs/applications/science/biology/mrtrix/default.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{ stdenv, lib, fetchFromGitHub, python, makeWrapper
, eigen, fftw, libtiff, libpng, zlib, ants, bc
, qt5, libGL, libGLU, libX11, libXext
, withGui ? true }:
, withGui ? true, less }:

stdenv.mkDerivation rec {
pname = "mrtrix";
version = "3.0.2";
version = "unstable-2021-11-25";

src = fetchFromGitHub {
owner = "MRtrix3";
repo = "mrtrix3";
rev = version;
sha256 = "0p4d1230j6664rnb9l65cpyfj9ncbcm39yv1r9y77br9rkkv1za3";
rev = "994498557037c9e4f7ba67f255820ef84ea899d9";
sha256 = "sha256-8eFDS5z4ZxMzi9Khk90KAS4ndma/Syd6JDXM2Fpr0M8=";
fetchSubmodules = true;
};

Expand Down Expand Up @@ -44,6 +44,9 @@ stdenv.mkDerivation rec {
substituteInPlace ./run_tests \
--replace 'git submodule update --init $datadir >> $LOGFILE 2>&1' ""
substituteInPlace ./build \
--replace '"less -RX "' '"${less}/bin/less -RX "'
'';

configurePhase = ''
Expand Down

0 comments on commit b1d95dc

Please sign in to comment.