Re: Building with meson on NixOS/nixpkgs

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: walther(at)technowledgy(dot)de, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Building with meson on NixOS/nixpkgs
Date: 2024-04-17 11:49:53
Message-ID: 1676dbf7-9182-4e2d-8793-752a3fbac990@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 29.03.24 19:47, walther(at)technowledgy(dot)de wrote:
> - uuid = dependency('ossp-uuid', required: true)
> + # upstream is called "uuid", but many distros change this to
"ossp-uuid"
> + uuid = dependency('ossp-uuid', 'uuid', required: true)

How would this behave if you have only uuid.pc from e2fsprogs installed
but choose -Duuid=ossp? Then it would pick up uuid.pc here, but fail to
compile later?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message walther 2024-04-17 12:02:41 Re: Building with meson on NixOS/nixpkgs
Previous Message Peter Eisentraut 2024-04-17 11:40:58 Re: Speed up clean meson builds by ~25%