summary refs log tree commit diff
path: root/pkgs/applications/editors/sublime/2
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2018-05-03 00:58:11 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2018-05-03 13:09:20 -0500
commit143978a477e4891bd94be6d9fcf257f726b403cd (patch)
treeb93f545ca15d5dd7410e7ec13be3df1709b935c6 /pkgs/applications/editors/sublime/2
parent3216cf6cdf5a9d0e77af10add1a9cd5c0d6106c2 (diff)
downloadnixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar.gz
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar.bz2
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar.lz
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar.xz
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.tar.zst
nixlib-143978a477e4891bd94be6d9fcf257f726b403cd.zip
treewide: remove platform assertions
linux: readd assertion
Diffstat (limited to 'pkgs/applications/editors/sublime/2')
-rw-r--r--pkgs/applications/editors/sublime/2/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/editors/sublime/2/default.nix b/pkgs/applications/editors/sublime/2/default.nix
index 9cf5bd97d0a3..78c2d9aaa0c4 100644
--- a/pkgs/applications/editors/sublime/2/default.nix
+++ b/pkgs/applications/editors/sublime/2/default.nix
@@ -2,11 +2,10 @@
 let
   libPath = stdenv.lib.makeLibraryPath [glib xorg.libX11 gtk2 cairo];
 in
-assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
 
 stdenv.mkDerivation rec {
   name = "sublimetext-2.0.2";
-  src = 
+  src =
     if stdenv.system == "i686-linux" then
       fetchurl {
         name = "sublimetext-2.0.2.tar.bz2";
@@ -55,5 +54,6 @@ stdenv.mkDerivation rec {
   meta = {
     description = "Sophisticated text editor for code, markup and prose";
     license = stdenv.lib.licenses.unfree;
+    platforms = [ "x86_64-linux" "i686-linux" ];
   };
 }