Define CC and CXX for gcc
This commit is contained in:
parent
7a37913b4e
commit
478535b4d1
12
overlay.nix
12
overlay.nix
@ -58,6 +58,18 @@ let
|
|||||||
intelLicense = self.bsc.intelLicense;
|
intelLicense = self.bsc.intelLicense;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# We need to set the cc.cc.CC and cc.cc.CXX attributes, in order to
|
||||||
|
# determine the name of the compiler
|
||||||
|
# FIXME: Use a proper and automatic way to compute the compiler name
|
||||||
|
gcc = self.gcc.overrideAttrs (old1: {
|
||||||
|
cc = old1.cc.overrideAttrs (old2: {
|
||||||
|
passthru = old2.passthru // {
|
||||||
|
CC = "gcc";
|
||||||
|
CXX = "g++";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
intelLicense = callPackage ./bsc/intel-compiler/license.nix { };
|
intelLicense = callPackage ./bsc/intel-compiler/license.nix { };
|
||||||
|
|
||||||
pmix2 = callPackage ./bsc/pmix/pmix2.nix { };
|
pmix2 = callPackage ./bsc/pmix/pmix2.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user