cudaPackages: prefix libPath with lib in manifest builder#273779
Conversation
|
Note Template PR=273779; \
SYSTEM="aarch64-linux"; \
CUDA_SUPPORT="true"; \
CUDA_CAPABILITIES='[ "7.5" ]'; \
nixpkgs-review pr "$PR" \
--system "$SYSTEM" \
--no-shell \
--checkout commit \
--allow aliases \
--build-args "--max-jobs 1" \
--extra-nixpkgs-config "{
allowUnfree = true;
allowBroken = false;
cudaSupport = ${CUDA_SUPPORT:-false};
cudaCapabilities = ${CUDA_CAPABILITIES:-[]};
}"
|
|
Looks like something CUDA-related broke eval on master? |
|
@ofborg eval |
|
This issue is in master. |
Do you know if |
|
IIRC it does an eval of the base branch (master in this case), and an eval of the head branch (your branch). Either can fail the eval step |
dae8119 to
f13c797
Compare
|
I guess we're good ❯ nix build -I nixpkgs=flake:github:ConnorBaker/nixpkgs/fix/cudaPackages-libPath-manifest-builder -f '<nixpkgs>' --arg config '{ allowUnfree = true; }' cudaPackages.cutensor
❯ ls result/lib
libcutensorMg.so libcutensorMg.so.1 libcutensorMg.so.1.7.0 libcutensorMg_static.a libcutensor.so libcutensor.so.1 libcutensor.so.1.7.0 libcutensor_static.aBtw I only now noticed that |
| if [[ ! -d "${libPath}" ]] ; then | ||
| echo "${finalAttrs.pname}: ${libPath} does not exist, only found:" >&2 | ||
| find "$(dirname ${libPath})"/ -maxdepth 1 >&2 | ||
| full_lib_path="lib/${libPath}" |
There was a problem hiding this comment.
I've also been wondering lately if it's better to pass this kind of values as environment variables instead of rendering them in the bash script, but that's not relevant rn I guess
Indeed it has :l |
Description of changes
Closes #272797.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.