nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 27 lines 700 B view raw
1{ backendStdenv, buildRedist }: 2buildRedist { 3 redistName = "cuda"; 4 pname = "cuda_crt"; 5 6 outputs = [ "out" ]; 7 8 brokenAssertions = [ 9 # TODO(@connorbaker): Build fails on x86 when using pkgsLLVM. 10 # .../include/crt/host_defines.h:67:2: 11 # error: "libc++ is not supported on x86 system" 12 # 13 # 67 | #error "libc++ is not supported on x86 system" 14 # | ^ 15 # 16 # 1 error generated. 17 # 18 # # --error 0x1 -- 19 { 20 message = "cannot use libc++ on x86_64-linux"; 21 assertion = backendStdenv.hostNixSystem == "x86_64-linux" -> backendStdenv.cc.libcxx == null; 22 } 23 ]; 24 25 # There's a comment with a reference to /usr 26 allowFHSReferences = true; 27}