Skip to content

Commit

Permalink
cosmic-workspaces-epoch: install assets
Browse files Browse the repository at this point in the history
  • Loading branch information
a-kenji committed Aug 7, 2024
1 parent 75bea2c commit d142119
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/by-name/co/cosmic-workspaces-epoch/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libxkbcommon libinput libglvnd mesa udev wayland ];

postInstall = ''
mkdir -p $out/share/{applications,icons/hicolor/scalable/apps}
cp data/*.desktop $out/share/applications/
cp data/*.svg $out/share/icons/hicolor/scalable/apps/
'';

# Force linking to libEGL, which is always dlopen()ed, and to
# libwayland-client, which is always dlopen()ed except by the
# obscure winit backend.
Expand Down

0 comments on commit d142119

Please sign in to comment.