Remove audio.wav and audio directory creation
This commit is contained in:
@@ -41,11 +41,6 @@
|
|||||||
pkg-config
|
pkg-config
|
||||||
];
|
];
|
||||||
|
|
||||||
audioFile = pkgs.fetchurl {
|
|
||||||
url = "https://files.rhemawavetech.com/audio.wav";
|
|
||||||
sha256 = "sha256-5Dikxx9RKOoPfY1ukIgMoVQ7tzpMirp+XPj6OphfEW0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
packages.default = pkgs.buildGoModule {
|
packages.default = pkgs.buildGoModule {
|
||||||
@@ -73,12 +68,14 @@
|
|||||||
# Create the destination
|
# Create the destination
|
||||||
mkdir -p $out/share/rhemawave
|
mkdir -p $out/share/rhemawave
|
||||||
|
|
||||||
|
# Update ownership
|
||||||
|
chown -R kiosk:kiosk /home/kiosk/.local/share/rhemawave
|
||||||
|
|
||||||
|
# Update permissions
|
||||||
|
chmod -R 770 /home/kiosk/.local/share/rhemawave
|
||||||
|
|
||||||
# Copy everything from your local share/rhemawave/* into the store
|
# Copy everything from your local share/rhemawave/* into the store
|
||||||
cp -r share/rhemawave/* $out/share/rhemawave/
|
cp -r share/rhemawave/* $out/share/rhemawave/
|
||||||
|
|
||||||
# Add the fetched audio file specifically
|
|
||||||
mkdir -p $out/share/rhemawave/audio
|
|
||||||
cp ${audioFile} $out/share/rhemawave/audio/audio.wav
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with pkgs.lib; {
|
meta = with pkgs.lib; {
|
||||||
|
|||||||
Reference in New Issue
Block a user