git.iko.soy/typeable/nixpkgs
on master help sign in
phantomjs2: fix evaluation and refactor

The error was due to the fact that with-introduced bindings have lower priority and we do have `darwin` in scope already. Fixes #12350. Closes #12351. (A slightly different fix. I chose this to lower the risk of people re-introducing the mistake.)

commitcea8ee50c7de8106d74ed66a9b54db56e3ab491e authorVladimír Čunát <vcunat@gmail.com> dateWed 13 Jan 2016, 08:31 (11 years ago) parente6a892b
1 file changed+4−4
pkgs/development/tools/phantomjs2/default.nix+4−4
pkgs/development/tools/phantomjs2/default.nix+4−4
@@ -94,7 +94,7 @@ in stdenv.mkDerivation rec {
9494 $out/bin/phantomjs
9595 '';
9696
97− meta = {
97+ meta = with stdenv.lib; {
9898 description = "Headless WebKit with JavaScript API";
9999 longDescription = ''
100100 PhantomJS2 is a headless WebKit with JavaScript API.
@@ -109,9 +109,9 @@ in stdenv.mkDerivation rec {
109109 '';
110110
111111 homepage = http://phantomjs.org/;
112− license = stdenv.lib.licenses.bsd3;
112+ license = licenses.bsd3;
113113
114− maintainers = [ stdenv.lib.maintainers.aflatter ];
115− platforms = with stdenv.lib.platforms; darwin ++ linux;
114+ maintainers = [ maintainers.aflatter ];
115+ platforms = platforms.darwin ++ platforms.linux;
116116 };
117117}