Merge pull request #32365 from vcunat/p/check-meta

check meta, treewide
This commit is contained in:
Graham Christensen
2017-12-12 18:55:23 -05:00
committed by GitHub
22 changed files with 42 additions and 30 deletions

View File

@@ -9,7 +9,7 @@
let arch =
if stdenv.system == "x86_64-linux" then "64"
else if stdenv.system == "i686-linux" then "32"
else abort "Unsupported architecture";
else throw "Unsupported system ${stdenv.system}";
in stdenv.mkDerivation rec {
name = "cnijfilter-${version}";

View File

@@ -4,7 +4,7 @@ let
platform =
if stdenv.system == "x86_64-linux" then "64bit"
else if stdenv.system == "i686-linux" then "32bit"
else abort "Unsupported platform";
else throw "Unsupported system: ${stdenv.system}";
libPath = lib.makeLibraryPath [ cups ];
in

View File

@@ -9,7 +9,7 @@ let
if isx86_64 then "64bit"
else
if isi686 then "32bit"
else abort "${system} not considered in build derivation. Might still be supported.";
else throw "${system} not considered in build derivation. Might still be supported.";
in
stdenv.mkDerivation {