diff options
author | Matteo Scarlata <scarlata.matteo@gmail.com> | 2020-03-16 13:16:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 13:16:43 +0100 |
commit | 3355e8d1ca1e6e414d5ef64da02fa5728f873e17 (patch) | |
tree | 80b54eddf1616157611ddedb989496125f5ab416 /pkgs/applications/networking/sync/unison/default.nix | |
parent | 937f1ad633780bdd64ac1ac125a736ec8407b4fd (diff) | |
download | nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar.gz nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar.bz2 nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar.lz nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar.xz nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.tar.zst nixpkgs-3355e8d1ca1e6e414d5ef64da02fa5728f873e17.zip |
unison: fix build with ocamlPackages_4_09 (#82619)
Fixes #61867 and #61505, bumps the ocaml version unison is built against to 4.08. The patches included here appear in the trunk version of unison, but were not backported to 2.51.2.
Diffstat (limited to 'pkgs/applications/networking/sync/unison/default.nix')
-rw-r--r-- | pkgs/applications/networking/sync/unison/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/sync/unison/default.nix b/pkgs/applications/networking/sync/unison/default.nix index c29bd3a486c..9c49b22d944 100644 --- a/pkgs/applications/networking/sync/unison/default.nix +++ b/pkgs/applications/networking/sync/unison/default.nix @@ -27,6 +27,12 @@ stdenv.mkDerivation (rec { "UISTYLE=${if enableX11 then "gtk2" else "text"}" ] ++ stdenv.lib.optional (!ocaml.nativeCompilers) "NATIVE=false"; + patches = [ + # NOTE: Only needed until Unison 2.51.3 is released! + ./4.08-compatibility.patch + ./lablgtk.patch + ]; + preInstall = "mkdir -p $out/bin"; postInstall = if enableX11 then '' |