Move attributes in ompss2 clang derivation to passthru

This commit is contained in:
Aleix Boné 2025-07-01 15:17:26 +02:00
parent 75c2331d5d
commit 96661ca763
Signed by: abonerib
SSH Key Fingerprint: SHA256:Jmq7aNH8XDdGy7E9dqfqrc/LRaVqhnFgDgdxlFw/pl8

View File

@ -43,21 +43,21 @@ let
source = if (useGit) then git else release;
in stdenv.mkDerivation rec {
in stdenv.mkDerivation {
pname = "clang-ompss2";
inherit (source) src version;
enableParallelBuilding = true;
isClang = true;
passthru = {
CC = "clang";
CXX = "clang++";
};
isClang = true;
isClangWithOmpss = true;
nativeBuildInputs = [ zlib ];
inherit gcc zlib;
};
buildInputs = [
which