Remove audio.wav and audio directory creation
This commit is contained in:
@@ -41,11 +41,6 @@
|
||||
pkg-config
|
||||
];
|
||||
|
||||
audioFile = pkgs.fetchurl {
|
||||
url = "https://files.rhemawavetech.com/audio.wav";
|
||||
sha256 = "sha256-5Dikxx9RKOoPfY1ukIgMoVQ7tzpMirp+XPj6OphfEW0=";
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
packages.default = pkgs.buildGoModule {
|
||||
@@ -72,13 +67,15 @@
|
||||
postInstall = ''
|
||||
# Create the destination
|
||||
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
|
||||
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; {
|
||||
|
||||
Reference in New Issue
Block a user