Skip to content

Commit

Permalink
darwin: disable broken packages
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Mar 8, 2018
1 parent 4ff4ef5 commit 54e2c28
Show file tree
Hide file tree
Showing 10 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/misc/apvlv/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
'';

license = licenses.lgpl2;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = [ maintainers.ardumont ];
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/misc/bb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ stdenv.mkDerivation rec {
description = "AA-lib demo";
license = licenses.gpl2;
maintainers = [ maintainers.rnhmjoj ];
platforms = platforms.unix;
platforms = platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/misc/confclerk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ stdenv.mkDerivation {
homepage = http://www.toastfreeware.priv.at/confclerk;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ ehmry ];
inherit (qt4.meta) platforms;
platforms = stdenv.lib.platforms.linux;
};
}
2 changes: 1 addition & 1 deletion pkgs/applications/science/math/bcal/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ python3Packages.pytest ];

doCheck = true;
doCheck = !stdenv.isDarwin;
checkPhase = ''
python3 -m pytest test.py
'';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/libraries/cmark/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ cmake ];
doCheck = true;
doCheck = !stdenv.isDarwin;
checkPhase = ''
export LD_LIBRARY_PATH=$(readlink -f ./src)
CTEST_OUTPUT_ON_FAILURE=1 make test
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/misc/avr/gcc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ stdenv.mkDerivation {
description = "GNU Compiler Collection, version ${version} for AVR microcontrollers";
homepage = http://gcc.gnu.org;
license = licenses.gpl3Plus;
platforms = platforms.unix;
platforms = platforms.linux;
maintainers = with maintainers; [ mguentner ];
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ appleDerivation rec {
# - su ('security/pam_appl.h' file not found)
# - find (Undefined symbol '_get_date')
# - w (Undefined symbol '_res_9_init')
# - expr
substituteInPlace shell_cmds.xcodeproj/project.pbxproj \
--replace "FCBA168714A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA165914A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA169514A146D000AA698B /* PBXTargetDependency */," ""
--replace "FCBA169514A146D000AA698B /* PBXTargetDependency */," "" \
--replace "FCBA165514A146D000AA698B /* PBXTargetDependency */," ""
# disable w, test install
# get rid of permission stuff
Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/backup/bdsync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
description = "Fast block device synchronizing tool";
homepage = https://github.com/TargetHolding/bdsync;
license = licenses.gpl2;
platforms = platforms.all;
platforms = platforms.linux;
maintainers = with maintainers; [ jluttine ];
};

Expand Down
2 changes: 1 addition & 1 deletion pkgs/tools/misc/cutecom/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = http://cutecom.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.bennofs ];
platforms = stdenv.lib.platforms.unix;
platforms = stdenv.lib.platforms.linux;
};
}
8 changes: 6 additions & 2 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12273,7 +12273,9 @@ with pkgs;
knot-dns = callPackage ../servers/dns/knot-dns { };
knot-resolver = callPackage ../servers/dns/knot-resolver {
# TODO: vimNox after it gets fixed on Darwin or something lighter
hexdump = if stdenv.isLinux then utillinux.bin else vim/*xxd*/;
hexdump = if stdenv.isLinux then utillinux.bin
else if stdenv.isDarwin then darwin.shell_cmds
else vim/*xxd*/;
};

rdkafka = callPackage ../development/libraries/rdkafka { };
Expand Down Expand Up @@ -19884,7 +19886,9 @@ with pkgs;

pcalc = callPackage ../applications/science/math/pcalc { };

bcal = callPackage ../applications/science/math/bcal { };
bcal = callPackage ../applications/science/math/bcal {
stdenv = gccStdenv;
};

pspp = callPackage ../applications/science/math/pspp {
inherit (gnome3) gtksourceview;
Expand Down

0 comments on commit 54e2c28

Please sign in to comment.