meson: fix for structured attrs
This commit is contained in:
parent
0f67406076
commit
548aff5a49
|
@ -211,6 +211,7 @@ stdenv.mkDerivation rec {
|
|||
"--localstatedir=/var"
|
||||
"--sysconfdir=/etc"
|
||||
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
||||
"--libexecdir=${placeholder "out"}/libexec"
|
||||
] ++ stdenv.lib.optionals (!haveDell) [
|
||||
"-Dplugin_dell=false"
|
||||
"-Dplugin_synaptics=false"
|
||||
|
@ -220,12 +221,6 @@ stdenv.mkDerivation rec {
|
|||
"-Dplugin_flashrom=true"
|
||||
];
|
||||
|
||||
# TODO: We need to be able to override the directory flags from meson setup hook
|
||||
# better – declaring them multiple times might become an error.
|
||||
preConfigure = ''
|
||||
mesonFlagsArray+=("--libexecdir=$out/libexec")
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
moveToOutput share/installed-tests "$installedTests"
|
||||
wrapProgram $installedTests/share/installed-tests/fwupd/hardware.py \
|
||||
|
|
Loading…
Reference in New Issue