diff options
author | Vikram Narayanan <vikram186@gmail.com> | 2021-11-30 21:03:43 -0800 |
---|---|---|
committer | Vikram Narayanan <vikram186@gmail.com> | 2021-11-30 21:03:53 -0800 |
commit | b1d95dca5645c107f49873ad5ab08e6d01c416cf (patch) | |
tree | 0cc7d5d4f52f5daa623f30daaf361132d98f3b64 /pkgs/applications/science | |
parent | ac72629607dbdbfda0ed399439df62605749c20d (diff) |
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
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/biology/mrtrix/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/science/biology/mrtrix/default.nix b/pkgs/applications/science/biology/mrtrix/default.nix index e0b122778d1b8..10bfb633f4afc 100644 --- a/pkgs/applications/science/biology/mrtrix/default.nix +++ b/pkgs/applications/science/biology/mrtrix/default.nix @@ -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; }; @@ -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 = '' |