otool & setFile: only allow on darwin

This commit is contained in:
Jason "Don" O'Conal 2013-07-04 19:01:47 +10:00
parent 4c9cff322a
commit 2a21046f24
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,8 @@
{ stdenv }:
# this tool only exists on darwin
assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "otool";

View File

@ -1,5 +1,8 @@
{ stdenv }:
# this tool only exists on darwin
assert stdenv.isDarwin;
stdenv.mkDerivation {
name = "setFile";