Don't build separate bin output for alex.
It has files in /usr/share which reference the bin output.
This commit is contained in:
parent
cd24744506
commit
a1d78fa5bc
|
@ -489,4 +489,7 @@ self: super: builtins.intersectAttrs super {
|
||||||
# Without this override, the builds lacks pkg-config.
|
# Without this override, the builds lacks pkg-config.
|
||||||
opencv-extra = addPkgconfigDepend super.opencv-extra (pkgs.opencv3.override { enableContrib = true; });
|
opencv-extra = addPkgconfigDepend super.opencv-extra (pkgs.opencv3.override { enableContrib = true; });
|
||||||
|
|
||||||
|
# Alex has some weird files in /usr/share that create a cyclic ref with
|
||||||
|
# its bin dir.
|
||||||
|
alex = hasNoBinOutput super.alex;
|
||||||
}
|
}
|
||||||
|
|
|
@ -142,6 +142,8 @@ rec {
|
||||||
overrideSrc = drv: { src, version ? drv.version }:
|
overrideSrc = drv: { src, version ? drv.version }:
|
||||||
overrideCabal drv (_: { inherit src version; editedCabalFile = null; });
|
overrideCabal drv (_: { inherit src version; editedCabalFile = null; });
|
||||||
|
|
||||||
|
hasNoBinOutput = drv: overrideCabal drv (drv: { enableSeparateBinOutput = false; });
|
||||||
|
|
||||||
installOutputs = drv: outputs: overrideCabal drv
|
installOutputs = drv: outputs: overrideCabal drv
|
||||||
(drv: { outputsToInstall = outputs; });
|
(drv: { outputsToInstall = outputs; });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue