From 59c656a42137e529cd77f7e42c559cef7c0e33f3 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Fri, 9 Mar 2018 18:31:42 -0500 Subject: dvdisaster: Fix sse2 logic for cross and improved `meta.platforms` --- pkgs/tools/cd-dvd/dvdisaster/default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pkgs/tools') diff --git a/pkgs/tools/cd-dvd/dvdisaster/default.nix b/pkgs/tools/cd-dvd/dvdisaster/default.nix index e70d259df683..590c32188141 100644 --- a/pkgs/tools/cd-dvd/dvdisaster/default.nix +++ b/pkgs/tools/cd-dvd/dvdisaster/default.nix @@ -33,8 +33,7 @@ stdenv.mkDerivation rec { "--docdir=share/doc" "--with-nls=yes" "--with-embedded-src-path=no" - ] ++ stdenv.lib.optional (builtins.elem stdenv.system - stdenv.lib.platforms.x86_64) "--with-sse2=yes"; + ] ++ stdenv.lib.optional (stdenv.hostPlatform.isx86_64) "--with-sse2=yes"; # fatal error: inlined-icons.h: No such file or directory enableParallelBuilding = false; -- cgit 1.4.1