diff --git a/pkgs/by-name/sc/scotch/package.nix b/pkgs/by-name/sc/scotch/package.nix index e1977db4cf05..f98420c1e9de 100644 --- a/pkgs/by-name/sc/scotch/package.nix +++ b/pkgs/by-name/sc/scotch/package.nix @@ -12,6 +12,7 @@ mpi, withPtScotch ? false, testers, + nix-update-script, }: stdenv.mkDerivation (finalAttrs: { @@ -58,15 +59,6 @@ stdenv.mkDerivation (finalAttrs: { mpi ]; - passthru = { - tests = { - cmake-config = testers.hasCmakeConfigModules { - moduleNames = [ "SCOTCH" ]; - package = finalAttrs.finalPackage; - }; - }; - }; - # SCOTCH provide compatibility with Metis/Parmetis interface. # We install the metis compatible headers to subdirectory to # avoid conflict with metis/parmetis. @@ -75,6 +67,17 @@ stdenv.mkDerivation (finalAttrs: { mv $dev/include/{*metis,metisf}.h $dev/include/scotch ''; + passthru = { + tests = { + cmake-config = testers.hasCmakeConfigModules { + moduleNames = [ "SCOTCH" ]; + package = finalAttrs.finalPackage; + }; + }; + + updateScript = nix-update-script { }; + }; + meta = { description = "Graph and mesh/hypergraph partitioning, graph clustering, and sparse matrix ordering"; longDescription = ''