meson: fix for structured attrs
This commit is contained in:
parent
0f67406076
commit
548aff5a49
@ -211,6 +211,7 @@ stdenv.mkDerivation rec {
|
|||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
"--sysconfdir=/etc"
|
"--sysconfdir=/etc"
|
||||||
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
||||||
|
"--libexecdir=${placeholder "out"}/libexec"
|
||||||
] ++ stdenv.lib.optionals (!haveDell) [
|
] ++ stdenv.lib.optionals (!haveDell) [
|
||||||
"-Dplugin_dell=false"
|
"-Dplugin_dell=false"
|
||||||
"-Dplugin_synaptics=false"
|
"-Dplugin_synaptics=false"
|
||||||
@ -220,12 +221,6 @@ stdenv.mkDerivation rec {
|
|||||||
"-Dplugin_flashrom=true"
|
"-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 = ''
|
postInstall = ''
|
||||||
moveToOutput share/installed-tests "$installedTests"
|
moveToOutput share/installed-tests "$installedTests"
|
||||||
wrapProgram $installedTests/share/installed-tests/fwupd/hardware.py \
|
wrapProgram $installedTests/share/installed-tests/fwupd/hardware.py \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user