summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/dvdisaster/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/cd-dvd/dvdisaster/default.nix')
-rw-r--r--pkgs/tools/cd-dvd/dvdisaster/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/cd-dvd/dvdisaster/default.nix b/pkgs/tools/cd-dvd/dvdisaster/default.nix
index e70d259df68..590c3218814 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;