2023-11-22 20:26:55 -08:00
|
|
|
{ inputs, name, pkgs }:
|
|
|
|
|
|
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
|
inherit name;
|
|
|
|
|
src = inputs.${name};
|
|
|
|
|
installPhase = ''
|
|
|
|
|
runHook preInstall
|
|
|
|
|
sdir=$out/share/sounds
|
|
|
|
|
mkdir -p $sdir
|
|
|
|
|
ls -al
|
|
|
|
|
cp sounds/core_10.wav $sdir/YoRHa-message.wav
|
|
|
|
|
cp sounds/core_25.wav $sdir/YoRHa-connect.wav
|
|
|
|
|
cp sounds/core_32.wav $sdir/YoRHa-error.wav
|
|
|
|
|
cp sounds/core_37.wav $sdir/YoRHa-login.wav
|
|
|
|
|
cp sounds/core_64.wav $sdir/YoRHa-question.wav
|
2023-11-23 22:24:54 -08:00
|
|
|
cp sounds/core_67.wav $sdir/YoRHa-trash.wav
|
2023-11-22 20:26:55 -08:00
|
|
|
cp sounds/core_70.wav $sdir/YoRHa-detach.wav
|
|
|
|
|
cp sounds/core_71.wav $sdir/YoRHa-warning.wav
|
2023-11-23 22:24:54 -08:00
|
|
|
cp sounds/core_94.wav $sdir/YoRHa-critical.wav
|
2023-11-22 20:26:55 -08:00
|
|
|
cp sounds/core_96.wav $sdir/YoRHa-logout.wav
|
|
|
|
|
runHook postInstall
|
|
|
|
|
'';
|
|
|
|
|
}
|