Unverified Commit ddcc48c3 authored by Philip Taron's avatar Philip Taron
Browse files

sbclPackages.antik-base, etc: remove broken documentation.pdf symlink

The antik source archive contains a documentation.pdf symlink pointing
to documentation/build/latex/Antik.pdf which doesn't exist, causing
the noBrokenSymlinks check to fail. Remove it in all five packages
built from this archive: antik, antik-base, foreign-array,
physical-dimension, and science-data.
parent 76d77908
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -196,6 +196,34 @@ let
        nativeLibs = [ pkgs.hdf5 ];
        NIX_LDFLAGS = [ "-lhdf5" ];
      });
      # The antik source archive contains a broken documentation.pdf symlink
      # pointing to documentation/build/latex/Antik.pdf which doesn't exist.
      # All packages built from this archive need the symlink removed.
      antik = super.antik.overrideLispAttrs (o: {
        postInstall = (o.postInstall or "") + ''
          rm -f $out/documentation.pdf
        '';
      });
      antik-base = super.antik-base.overrideLispAttrs (o: {
        postInstall = (o.postInstall or "") + ''
          rm -f $out/documentation.pdf
        '';
      });
      foreign-array = super.foreign-array.overrideLispAttrs (o: {
        postInstall = (o.postInstall or "") + ''
          rm -f $out/documentation.pdf
        '';
      });
      physical-dimension = super.physical-dimension.overrideLispAttrs (o: {
        postInstall = (o.postInstall or "") + ''
          rm -f $out/documentation.pdf
        '';
      });
      science-data = super.science-data.overrideLispAttrs (o: {
        postInstall = (o.postInstall or "") + ''
          rm -f $out/documentation.pdf
        '';
      });
      gsll = super.gsll.overrideLispAttrs (o: {
        nativeBuildInputs = [ pkgs.gsl ];
        nativeLibs = [ pkgs.gsl ];