lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

xsimd: use finalAttrs in mkDerivation

+4 -4
+4 -4
pkgs/development/libraries/xsimd/default.nix
··· 5 5 , doctest 6 6 }: 7 7 8 - stdenv.mkDerivation rec { 8 + stdenv.mkDerivation (finalAttrs: { 9 9 pname = "xsimd"; 10 10 version = "11.1.0"; 11 11 src = fetchFromGitHub { 12 12 owner = "xtensor-stack"; 13 13 repo = "xsimd"; 14 - rev = version; 14 + rev = finalAttrs.version; 15 15 sha256 = "sha256-l6IRzndjb95hIcFCCm8zmlNHWtKduqy2t/oml/9Xp+w="; 16 16 }; 17 17 patches = [ ··· 41 41 ]; 42 42 43 43 cmakeFlags = [ 44 - "-DBUILD_TESTS=${if (doCheck && stdenv.hostPlatform == stdenv.buildPlatform) then "ON" else "OFF"}" 44 + "-DBUILD_TESTS=${if (finalAttrs.doCheck && stdenv.hostPlatform == stdenv.buildPlatform) then "ON" else "OFF"}" 45 45 ]; 46 46 47 47 doCheck = true; ··· 57 57 maintainers = with maintainers; [ tobim ]; 58 58 platforms = platforms.all; 59 59 }; 60 - } 60 + })