diff --git a/pkgs/development/lisp-modules/ql.nix b/pkgs/development/lisp-modules/ql.nix index ffa7c0d08aa4..39d41370ed11 100644 --- a/pkgs/development/lisp-modules/ql.nix +++ b/pkgs/development/lisp-modules/ql.nix @@ -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 ];