cudaPackages: allow FHS references by default

...harden gradually instead
This commit is contained in:
Someone Serge 2023-12-25 00:38:48 +00:00
parent cfa07014b6
commit 5d6136a53e
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4
2 changed files with 2 additions and 1 deletions

View file

@ -44,6 +44,7 @@ attrsets.filterAttrs (attr: _: (builtins.hasAttr attr prev)) {
cuda_cudart = prev.cuda_cudart.overrideAttrs (
prevAttrs: {
allowFHSReferences = false;
# The libcuda stub's pkg-config doesn't follow the general pattern:
postPatch = prevAttrs.postPatch or "" + ''

View file

@ -219,7 +219,7 @@ backendStdenv.mkDerivation (
'';
doInstallCheck = true;
allowFHSReferences = false;
allowFHSReferences = true; # TODO: Default to `false`
postInstallCheck = ''
echo "Executing postInstallCheck"