From 63a68321d74cf94013219149fb88d864d1c4e8a7 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Tue, 10 Aug 2021 22:52:13 +0200 Subject: [PATCH] add Desktop Item --- pkgs/soundux/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/soundux/default.nix b/pkgs/soundux/default.nix index 120ea9d..6fb0336 100644 --- a/pkgs/soundux/default.nix +++ b/pkgs/soundux/default.nix @@ -25,8 +25,12 @@ stdenv.mkDerivation rec { dontWrapGApps = true; installPhase = '' + runHook preInstall + mkdir -p $out/opt $out/bin cp -r dist soundux-${version} $out/opt + + runHook postInstall ''; # Soundux loads pipewire, pulse and libwnck optionally during runtime