Unverified Commit 5d6136a5 authored by Someone Serge's avatar Someone Serge
Browse files

cudaPackages: allow FHS references by default

...harden gradually instead
parent cfa07014
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 "" + ''
+1 −1
Original line number Diff line number Diff line
@@ -219,7 +219,7 @@ backendStdenv.mkDerivation (
      '';

    doInstallCheck = true;
    allowFHSReferences = false;
    allowFHSReferences = true; # TODO: Default to `false`
    postInstallCheck = ''
      echo "Executing postInstallCheck"