Begin moving bsc packages to root attribute

This commit is contained in:
2023-09-19 10:33:32 +02:00
parent fd766d8ff8
commit 51dcc6896e
8 changed files with 432 additions and 438 deletions

View File

@@ -21,7 +21,7 @@ let
repo = "ovni";
rev = "${version}";
sha256 = "sha256-4ulohGnbQwAZ/qnm5bmceoMhTuAHlCfLAWEodZ9YMP0=";
};
} // { shortRev = "b6903bc4"; };
};
git = rec {
@@ -40,5 +40,6 @@ in
inherit (source) src version;
buildInputs = [ cmake mpi ];
cmakeBuildType = if (enableDebug) then "Debug" else "Release";
cmakeFlags = [ "-DOVNI_GIT_COMMIT=${src.shortRev}" ];
dontStrip = true;
}