From 40b347f2051b158e4d077eb95eff02df8a65524f Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Mon, 6 Nov 2017 17:52:08 +0100 Subject: [PATCH] i3lock-color: limit to i686 and x86-64 platforms Compilation fails for other CPU architectures due to requiring the SSE2 instruction set. See [1] for upstream issue. [1]: https://github.com/chrjguill/i3lock-color/issues/44 --- pkgs/applications/window-managers/i3/lock-color.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/i3/lock-color.nix b/pkgs/applications/window-managers/i3/lock-color.nix index fd47a104326e..a589e21be98b 100644 --- a/pkgs/applications/window-managers/i3/lock-color.nix +++ b/pkgs/applications/window-managers/i3/lock-color.nix @@ -28,6 +28,9 @@ stdenv.mkDerivation rec { homepage = https://i3wm.org/i3lock/; maintainers = with maintainers; [ garbas malyn ]; license = licenses.bsd3; - platforms = platforms.all; + + # Needs the SSE2 instruction set. See upstream issue + # https://github.com/chrjguill/i3lock-color/issues/44 + platforms = platforms.i686 ++ platforms.x86_64; }; }