git.iko.soy/typeable/nixpkgs
on master help sign in
routino: fix on darwin (#121959)
commitedb9e32ff1efc186d5709339b1946ee29803b86d authorNikolay Korotkiy <sikmir@gmail.com> dateFri 7 May 2021, 13:45 (6 years ago) parentdfcfe50
1 file changed+6−1
pkgs/tools/misc/routino/default.nix+6−1
pkgs/tools/misc/routino/default.nix+6−1
@@ -21,6 +21,11 @@ stdenv.mkDerivation rec {
2121 })
2222 ];
2323
24+ postPatch = lib.optionalString stdenv.isDarwin ''
25+ substituteInPlace Makefile.conf \
26+ --subst-var-by PREFIX $out
27+ '';
28+
2429 nativeBuildInputs = [ perl ];
2530
2631 buildInputs = [ zlib bzip2 ];
@@ -34,7 +39,7 @@ stdenv.mkDerivation rec {
3439 meta = with lib; {
3540 homepage = "http://www.routino.org/";
3641 description = "OpenStreetMap Routing Software";
37− license = licenses.agpl3;
42+ license = licenses.agpl3Plus;
3843 maintainers = with maintainers; [ dotlambda ];
3944 platforms = with platforms; linux ++ darwin;
4045 };