From ddcc48c3524cca3a60f0c2a7dc3cc991448eaf44 Mon Sep 17 00:00:00 2001 From: Philip Taron Date: Mon, 16 Feb 2026 06:32:02 -0800 Subject: [PATCH] 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. --- pkgs/development/lisp-modules/ql.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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 ];