Skip to content

Commit c02d1a5

Browse files
committed
GLFfetch: add symlink to make accessible 'assets' available in profile (with 'out' output)
1 parent 7d8f2a4 commit c02d1a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkgs/GLFfetch/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ stdenvNoCC.mkDerivation rec {
8484
mv $assets/share/${pname}/LICENSE $out/share/doc/${pname}/
8585
mv $assets/share/${pname}/README.md $out/share/doc/${pname}/
8686
87+
### Symlink "assets" output to "out" (to make them accessible to profile that GLFfetch is installed)
88+
ln -s $assets/share/${pname} $out/share/${pname}
89+
8790
${lib.optionalString (glfIcon == "GLFos") ''
8891
### Link logo from nix store
8992
ln -s ${./logo.png} $assets/share/${pname}/${glfIcon}.png

0 commit comments

Comments
 (0)