From 4b8c218e773478650c5c1dcc85d27f2be275d2d5 Mon Sep 17 00:00:00 2001 From: Daniel Thwaites Date: Tue, 13 Dec 2022 20:05:09 +0000 Subject: [PATCH] coreboot-configurator: fix exec path in desktop file --- pkgs/tools/misc/coreboot-configurator/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/coreboot-configurator/default.nix b/pkgs/tools/misc/coreboot-configurator/default.nix index bed689651a4b..923b7d55cae3 100644 --- a/pkgs/tools/misc/coreboot-configurator/default.nix +++ b/pkgs/tools/misc/coreboot-configurator/default.nix @@ -33,6 +33,11 @@ stdenv.mkDerivation { --replace '/usr/sbin/nvramtool' '${nvramtool}/bin/nvramtool' ''; + postFixup = '' + substituteInPlace $out/share/applications/coreboot-configurator.desktop \ + --replace '/usr/bin/coreboot-configurator' 'coreboot-configurator' + ''; + meta = with lib; { description = "A simple GUI to change settings in Coreboot's CBFS"; homepage = "https://support.starlabs.systems/kb/guides/coreboot-configurator";