git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #23881 from nicknovitski/links-darwin

links2: build on all unix platforms

commit5c57cc2ed8fc780434ef0bde352c19ec33a97e7d authorBenjamin Staffin <benley@gmail.com> dateTue 14 Mar 2017, 06:10 (10 years ago) parenta312abe1e8476c
1 file changed+6−5
pkgs/applications/networking/browsers/links2/default.nix+6−5
pkgs/applications/networking/browsers/links2/default.nix+6−5
@@ -16,10 +16,11 @@ stdenv.mkDerivation rec {
1616 sha256 = "1f24y83wa1vzzjq5kp857gjqdpnmf8pb29yw7fam0m8wxxw0c3gp";
1717 };
1818
19− buildInputs =
20− [ libev librsvg libpng libjpeg libtiff gpm openssl xz bzip2 zlib ]
21− ++ stdenv.lib.optionals enableX11 [ libX11 libXau libXt ]
22− ++ stdenv.lib.optional enableDirectFB [ directfb ];
19+ buildInputs = with stdenv.lib;
20+ [ libev librsvg libpng libjpeg libtiff openssl xz bzip2 zlib ]
21+ ++ optionals stdenv.isLinux [ gpm ]
22+ ++ optionals enableX11 [ libX11 libXau libXt ]
23+ ++ optional enableDirectFB [ directfb ];
2324
2425 nativeBuildInputs = [ pkgconfig bzip2 ];
2526
@@ -39,6 +40,6 @@ stdenv.mkDerivation rec {
3940 homepage = http://links.twibright.com/;
4041 description = "A small browser with some graphics support";
4142 maintainers = with maintainers; [ raskin urkud viric ];
42− platforms = platforms.linux;
43+ platforms = platforms.unix;
4344 };
4445}