Merge pull request #253255 from R-VdP/fwupd_1_9_5
This commit is contained in:
commit
74b1db5164
1 changed files with 5 additions and 3 deletions
|
@ -54,6 +54,7 @@
|
||||||
, libcbor
|
, libcbor
|
||||||
, xz
|
, xz
|
||||||
, enableFlashrom ? false
|
, enableFlashrom ? false
|
||||||
|
, enablePassim ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -123,7 +124,7 @@ let
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "fwupd";
|
pname = "fwupd";
|
||||||
version = "1.9.4";
|
version = "1.9.5";
|
||||||
|
|
||||||
# libfwupd goes to lib
|
# libfwupd goes to lib
|
||||||
# daemon, plug-ins and libfwupdplugin go to out
|
# daemon, plug-ins and libfwupdplugin go to out
|
||||||
|
@ -134,7 +135,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
owner = "fwupd";
|
owner = "fwupd";
|
||||||
repo = "fwupd";
|
repo = "fwupd";
|
||||||
rev = finalAttrs.version;
|
rev = finalAttrs.version;
|
||||||
hash = "sha256-xjN6nHqg7sQzgojClySQEjLQBdI5291TxPhgLjKzKvk=";
|
hash = "sha256-dqbFgVgG2RQM5ZHIEIIJOmrjtwlaRXEyY+2OdDs4PGo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -220,9 +221,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
"-Dsysconfdir_install=${placeholder "out"}/etc"
|
||||||
"-Defi_os_dir=nixos"
|
"-Defi_os_dir=nixos"
|
||||||
"-Dplugin_modem_manager=enabled"
|
"-Dplugin_modem_manager=enabled"
|
||||||
|
|
||||||
# We do not want to place the daemon into lib (cyclic reference)
|
# We do not want to place the daemon into lib (cyclic reference)
|
||||||
"--libexecdir=${placeholder "out"}/libexec"
|
"--libexecdir=${placeholder "out"}/libexec"
|
||||||
|
] ++ lib.optionals (!enablePassim) [
|
||||||
|
"-Dpassim=disabled"
|
||||||
] ++ lib.optionals (!haveDell) [
|
] ++ lib.optionals (!haveDell) [
|
||||||
"-Dplugin_dell=disabled"
|
"-Dplugin_dell=disabled"
|
||||||
"-Dplugin_synaptics_mst=disabled"
|
"-Dplugin_synaptics_mst=disabled"
|
||||||
|
|
Loading…
Reference in a new issue