Merge pull request #257456 from trofi/kea-leaner-closure

kea: mangle store paths in config.report
This commit is contained in:
Martin Weinelt 2023-09-26 18:02:07 +02:00 committed by GitHub
commit 1a7cd0756c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,10 @@ stdenv.mkDerivation rec {
"--with-mysql=${lib.getDev libmysqlclient}/bin/mysql_config"
"--with-pgsql=${postgresql}/bin/pg_config"
];
postConfigure = ''
# Mangle embedded paths to dev-only inputs.
sed -e "s|$NIX_STORE/[a-z0-9]\{32\}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" -i config.report
'';
nativeBuildInputs = [
autoreconfHook