dropbox: avoid manual assert (#426897)

authored by philiptaron.tngl.sh and committed by GitHub 386dbf9f 647f87d1

+1 -10
+1 -10
pkgs/applications/networking/dropbox/default.nix
··· 6 6 makeDesktopItem, 7 7 }: 8 8 9 - let 10 - platforms = [ 11 - "i686-linux" 12 - "x86_64-linux" 13 - ]; 14 - in 15 - 16 - assert lib.elem stdenv.hostPlatform.system platforms; 17 - 18 9 # Dropbox client to bootstrap installation. 19 10 # The client is self-updating, so the actual version may be newer. 20 11 let ··· 23 14 x86_64-linux = "217.4.4417"; 24 15 i686-linux = "206.3.6386"; 25 16 } 26 - .${stdenv.hostPlatform.system}; 17 + .${stdenv.hostPlatform.system} or ""; 27 18 28 19 arch = 29 20 {