treewide: remove platform assertions
linux: readd assertion
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ stdenv, makeWrapper, requireFile, patchelf, gcc, unzip }:
|
||||
assert stdenv.system == "x86_64-linux";
|
||||
with stdenv.lib;
|
||||
|
||||
# v2.1: last version with NHM/WSM arch support
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
{ stdenv, requireFile, patchelf, unzip }:
|
||||
assert stdenv.system == "x86_64-linux";
|
||||
with stdenv.lib;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -21,8 +21,6 @@ let
|
||||
|
||||
in
|
||||
|
||||
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "saleae-logic";
|
||||
version = "1.2.10";
|
||||
@@ -93,7 +91,7 @@ stdenv.mkDerivation rec {
|
||||
description = "Software for Saleae logic analyzers";
|
||||
homepage = http://www.saleae.com/;
|
||||
license = licenses.unfree;
|
||||
platforms = platforms.linux;
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
maintainers = [ maintainers.bjornfor ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
let
|
||||
platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
|
||||
in
|
||||
assert lib.elem stdenv.system platforms;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "phantomjs-1.9.8";
|
||||
|
||||
Reference in New Issue
Block a user