Sublime: add license attribute, and add assertion for i686-linux/x86_64-linux

This commit is contained in:
Rob Vermaas 2012-11-11 13:15:22 +01:00
parent 278f711e36
commit 277bfc232b

View File

@ -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";
};
}