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.
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user