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 makeDesktopItem, 7 }: 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 # Dropbox client to bootstrap installation. 19 # The client is self-updating, so the actual version may be newer. 20 let ··· 23 x86_64-linux = "217.4.4417"; 24 i686-linux = "206.3.6386"; 25 } 26 - .${stdenv.hostPlatform.system}; 27 28 arch = 29 {
··· 6 makeDesktopItem, 7 }: 8 9 # Dropbox client to bootstrap installation. 10 # The client is self-updating, so the actual version may be newer. 11 let ··· 14 x86_64-linux = "217.4.4417"; 15 i686-linux = "206.3.6386"; 16 } 17 + .${stdenv.hostPlatform.system} or ""; 18 19 arch = 20 {