diff options
Diffstat (limited to 'pkgs/development/compilers/cudatoolkit/stdenv.nix')
-rw-r--r-- | pkgs/development/compilers/cudatoolkit/stdenv.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/pkgs/development/compilers/cudatoolkit/stdenv.nix b/pkgs/development/compilers/cudatoolkit/stdenv.nix deleted file mode 100644 index 95e783a682bff..0000000000000 --- a/pkgs/development/compilers/cudatoolkit/stdenv.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ lib -, nixpkgsCompatibleLibstdcxx -, nvccCompatibleCC -, overrideCC -, stdenv -, wrapCCWith -}: - -let - cc = wrapCCWith - { - cc = nvccCompatibleCC; - - # This option is for clang's libcxx, but we (ab)use it for gcc's libstdc++. - # Note that libstdc++ maintains forward-compatibility: if we load a newer - # libstdc++ into the process, we can still use libraries built against an - # older libstdc++. This, in practice, means that we should use libstdc++ from - # the same stdenv that the rest of nixpkgs uses. - # We currently do not try to support anything other than gcc and linux. - libcxx = nixpkgsCompatibleLibstdcxx; - }; - cudaStdenv = overrideCC stdenv cc; - passthruExtra = { - inherit nixpkgsCompatibleLibstdcxx; - # cc already exposed - }; - assertCondition = true; -in -lib.extendDerivation - assertCondition - passthruExtra - cudaStdenv - |