diff options
author | Nick Novitski <github@nicknovitski.com> | 2022-04-19 20:45:37 -0700 |
---|---|---|
committer | Peter Hoeg <peter@hoeg.com> | 2022-05-10 10:54:06 +0800 |
commit | fb7287e6d2d2684520f756639846ee07f6287caa (patch) | |
tree | d4b22ad57b17c0bab7110d3c3d8b797f3c134626 /pkgs/games/openmw | |
parent | 90bd7d7389d99e1cfbd707a9efe8dc5e59592193 (diff) | |
download | nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar.gz nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar.bz2 nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar.lz nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar.xz nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.tar.zst nixlib-fb7287e6d2d2684520f756639846ee07f6287caa.zip |
openmw: enable with glibc fix
Diffstat (limited to 'pkgs/games/openmw')
-rw-r--r-- | pkgs/games/openmw/default.nix | 13 | ||||
-rw-r--r-- | pkgs/games/openmw/tes3mp.nix | 3 |
2 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/games/openmw/default.nix b/pkgs/games/openmw/default.nix index 8746d3172ac8..389f59f91a6a 100644 --- a/pkgs/games/openmw/default.nix +++ b/pkgs/games/openmw/default.nix @@ -1,6 +1,7 @@ { lib , mkDerivation , fetchFromGitHub +, fetchpatch , cmake , pkg-config , wrapQtAppsHook @@ -55,6 +56,13 @@ mkDerivation rec { sha256 = "sha256-Xq9hDUTCQr79Zzjk0CsiXclVTHK6nrSowukIQqVdrKY="; }; + patches = [ + (fetchpatch { + url = "https://gitlab.com/OpenMW/openmw/-/merge_requests/1239.diff"; + sha256 = "sha256-RhbIGeE6GyqnipisiMTwWjcFnIiR055hUPL8IkjPgZw="; + }) + ]; + nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ]; buildInputs = [ @@ -83,10 +91,5 @@ mkDerivation rec { license = licenses.gpl3Plus; maintainers = with maintainers; [ abbradar marius851000 ]; platforms = platforms.linux; - - # 2021-10-13, doesn't compile with glibc-2.34, maintainers prefer a fix on glibc's end. - # Can be marked as un-broken as soon as https://gitlab.com/OpenMW/openmw/-/merge_requests/1239 - # is resolved and a patch is appliable here. - broken = true; }; } diff --git a/pkgs/games/openmw/tes3mp.nix b/pkgs/games/openmw/tes3mp.nix index b92c31663fc6..0f91a3c0028b 100644 --- a/pkgs/games/openmw/tes3mp.nix +++ b/pkgs/games/openmw/tes3mp.nix @@ -87,7 +87,7 @@ let ''; # https://github.com/TES3MP/openmw-tes3mp/issues/552 - patches = [ ./tes3mp.patch ]; + patches = oldAttrs.patches ++ [ ./tes3mp.patch ]; NIX_CFLAGS_COMPILE = "-fpermissive"; @@ -108,6 +108,7 @@ let license = licenses.gpl3Only; maintainers = with maintainers; [ peterhoeg ]; platforms = [ "x86_64-linux" "i686-linux" ]; + broken = true; }; }); |