mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-20 20:03:24 +00:00
cudaPackages.cudatoolkit: refactor inheriting passthru.cc
Co-authored-by: Connor Baker <ConnorBaker01@Gmail.com>
This commit is contained in:
parent
2b69d618c2
commit
c376c54f70
@ -272,7 +272,7 @@ backendStdenv.mkDerivation rec {
|
||||
popd
|
||||
'';
|
||||
passthru = {
|
||||
cc = backendStdenv.cc;
|
||||
inherit (backendStdenv) cc;
|
||||
majorMinorVersion = lib.versions.majorMinor version;
|
||||
majorVersion = lib.versions.majorMinor version;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user