Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

routino: fix on darwin #121959

Merged
merged 1 commit into from May 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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