git.iko.soy/typeable/nixpkgs
on master help sign in
mrtrix: 3.0.2 -> unstable-2021-11-25

The latest stable version fails to build with latest eigen (> 3). https://github.com/MRtrix3/mrtrix3/pull/2368

commitb1d95dca5645c107f49873ad5ab08e6d01c416cf authorVikram Narayanan <vikram186@gmail.com> dateTue 30 Nov 2021, 21:03 (5 years ago) parentac72629
1 file changed+7−4
pkgs/applications/science/biology/mrtrix/default.nix+7−4
pkgs/applications/science/biology/mrtrix/default.nix+7−4
@@ -1,17 +1,17 @@
11{ stdenv, lib, fetchFromGitHub, python, makeWrapper
22, eigen, fftw, libtiff, libpng, zlib, ants, bc
33, qt5, libGL, libGLU, libX11, libXext
4−, withGui ? true }:
4+, withGui ? true, less }:
55
66stdenv.mkDerivation rec {
77 pname = "mrtrix";
8− version = "3.0.2";
8+ version = "unstable-2021-11-25";
99
1010 src = fetchFromGitHub {
1111 owner = "MRtrix3";
1212 repo = "mrtrix3";
13− rev = version;
14− sha256 = "0p4d1230j6664rnb9l65cpyfj9ncbcm39yv1r9y77br9rkkv1za3";
13+ rev = "994498557037c9e4f7ba67f255820ef84ea899d9";
14+ sha256 = "sha256-8eFDS5z4ZxMzi9Khk90KAS4ndma/Syd6JDXM2Fpr0M8=";
1515 fetchSubmodules = true;
1616 };
1717
@@ -44,6 +44,9 @@ stdenv.mkDerivation rec {
4444
4545 substituteInPlace ./run_tests \
4646 --replace 'git submodule update --init $datadir >> $LOGFILE 2>&1' ""
47+
48+ substituteInPlace ./build \
49+ --replace '"less -RX "' '"${less}/bin/less -RX "'
4750 '';
4851
4952 configurePhase = ''