Skip to content

Build failure: pcl with CUDA enabled on x86_64-linux #275090

@al3xtjames

Description

@al3xtjames

Steps To Reproduce

Steps to reproduce the behavior:

  1. Run nix develop with the following flake:
{
  inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; };

  outputs = { self, nixpkgs }: {
    devShells = nixpkgs.lib.genAttrs [ "x86_64-linux" ] (system:
      let
        pkgs = import nixpkgs {
          inherit system;
          config = {
            allowUnfree = true;
            cudaSupport = true;
          };
        };
      in {
        default = pkgs.mkShell {
          buildInputs = [ (pkgs.pcl.override { withCuda = pkgs.config.cudaSupport; }) ];
        };
      });
  };
}

Build log

https://gist.github.com/al3xtjames/64ac677568ba786ed2a1823891157d0d

Additional context

I think this broke with the recent cudaPackages changes, but I haven't figured out the responsible commit.

Notify maintainers

@viric
@samuela
@SomeoneSerge
@ConnorBaker

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.61-hardened1, NixOS, 24.05 (Uakari), 24.05.20231204.2c7f3c0`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - channels(alex): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions