Skip to content

Commit

Permalink
routino: fix on darwin (#121959)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed May 7, 2021
1 parent dfcfe50 commit edb9e32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/tools/misc/routino/default.nix
Expand Up @@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
})
];

postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace Makefile.conf \
--subst-var-by PREFIX $out
'';

nativeBuildInputs = [ perl ];

buildInputs = [ zlib bzip2 ];
Expand All @@ -34,7 +39,7 @@ stdenv.mkDerivation rec {
meta = with lib; {
homepage = "http://www.routino.org/";
description = "OpenStreetMap Routing Software";
license = licenses.agpl3;
license = licenses.agpl3Plus;
maintainers = with maintainers; [ dotlambda ];
platforms = with platforms; linux ++ darwin;
};
Expand Down

0 comments on commit edb9e32

Please sign in to comment.