Skip to content

Commit

Permalink
handheld-daemon-ui: format package.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
toast003 committed Apr 18, 2024
1 parent 92f8fab commit 7ad984c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkgs/by-name/ha/handheld-daemon-ui/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{ lib, appimageTools, fetchurl }:
{
lib,
appimageTools,
fetchurl,
}:
let
pname = "handheld-daemon-ui";
version = "2.2.3";
Expand All @@ -8,9 +12,10 @@ let
hash = "sha256-3OWgi62eSuFkMd5BLZ34XAwqq5hoGnFRTEi+WkJw0hA=";
};
extractedFiles = appimageTools.extractType2 { inherit pname version src; };
in appimageTools.wrapType2 {
in
appimageTools.wrapType2 {
inherit pname version src;

extraInstallCommands = ''
# Handheld-daemon expects the UI binary to be called hhd-ui
mv $out/bin/${pname}-${version} $out/bin/hhd-ui
Expand Down

0 comments on commit 7ad984c

Please sign in to comment.