Skip to content

cudaPackages.cuda-samples: migrate from deprecated cudatoolkit, respect cudaFlags, unbreak with cuda12 #275709

@SomeoneSerge

Description

@SomeoneSerge

Issue description

cudaPackages_12 build: https://hercules-ci.com/accounts/github/SomeoneSerge/derivations/%2Fnix%2Fstore%2Fnwgz3i3afqb7yg70c9lnbkk352skpq53-cuda-samples-12.2.drv/log?via-job=01589e1d-9231-48a5-8f82-0fb9b89672cf

Also shows that cudaFlags are ignored

The package is still using the deprecated cudaPackages.cudatoolkit:

buildInputs = [
cudatoolkit
freeimage

Additionally, the package doesn't include neither cudatoolkit nor cuda_nvcc in the nativeBuildInputs, i.e. it's probably broken after #271078

@NixOS/cuda-maintainers

Steps to reproduce

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: cudaParallel computing platform and API

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions