From 277bfc232b527cc1e613542624df0452b6d16aa0 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Sun, 11 Nov 2012 13:15:22 +0100 Subject: [PATCH] Sublime: add license attribute, and add assertion for i686-linux/x86_64-linux --- pkgs/applications/editors/sublime/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/sublime/default.nix b/pkgs/applications/editors/sublime/default.nix index 2e0b2ae1c760..31ae1967a223 100644 --- a/pkgs/applications/editors/sublime/default.nix +++ b/pkgs/applications/editors/sublime/default.nix @@ -2,6 +2,8 @@ let libPath = stdenv.lib.makeLibraryPath [glib xlibs.libX11 gtk cairo]; in +assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux"; + stdenv.mkDerivation rec { name = "sublimetext-2.0.1"; src = fetchurl { @@ -24,5 +26,6 @@ stdenv.mkDerivation rec { meta = { description = "Sublime Text is a sophisticated text editor for code, markup and prose."; + license = "unfree"; }; }