From d993f55ca63a614aa0ecf2d7f44e35c4bc245ff6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Wed, 10 Jul 2024 15:12:41 +0100 Subject: [PATCH] skypeforlinux, spotify: remove snap.yaml file --- pkgs/applications/audio/spotify/linux.nix | 2 -- pkgs/by-name/sk/skypeforlinux/package.nix | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/spotify/linux.nix b/pkgs/applications/audio/spotify/linux.nix index 43b4ae243540..6d3dde38de9a 100644 --- a/pkgs/applications/audio/spotify/linux.nix +++ b/pkgs/applications/audio/spotify/linux.nix @@ -133,8 +133,6 @@ stdenv.mkDerivation { mkdir -p $libdir mv ./usr/* $out/ - cp meta/snap.yaml $out - # Work around Spotify referring to a specific minor version of # OpenSSL. diff --git a/pkgs/by-name/sk/skypeforlinux/package.nix b/pkgs/by-name/sk/skypeforlinux/package.nix index 1182b835cd18..e898a4b63df7 100644 --- a/pkgs/by-name/sk/skypeforlinux/package.nix +++ b/pkgs/by-name/sk/skypeforlinux/package.nix @@ -127,7 +127,7 @@ stdenv.mkDerivation { unpackPhase = '' runHook preUnpack - unsquashfs "$src" /meta/{'gui/*.desktop',snap.yaml} \ + unsquashfs "$src" '/meta/gui/*.desktop' \ /usr/share/{doc/skypeforlinux,'icons/hicolor/*/apps/skypeforlinux.png',kservices5,pixmaps,skypeforlinux} sourceRoot=squashfs-root @@ -139,7 +139,7 @@ stdenv.mkDerivation { mkdir -p "$out/bin" mv meta/gui usr/share/applications - mv meta/snap.yaml usr/share "$out" + mv usr/share "$out" ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin" runHook postInstall