From 692093da7d6c5d747f3ead042d45b629b00330bc Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 17 Jun 2023 20:55:29 -0400 Subject: [PATCH] meta: Flatten packages directory --- {packages/go-thumbnailer => assets}/go.thumbnailer | 0 modules/thunar.nix | 2 +- packages/{go-thumbnailer/default.nix => go-thumbnailer.nix} | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {packages/go-thumbnailer => assets}/go.thumbnailer (100%) rename packages/{go-thumbnailer/default.nix => go-thumbnailer.nix} (90%) diff --git a/packages/go-thumbnailer/go.thumbnailer b/assets/go.thumbnailer similarity index 100% rename from packages/go-thumbnailer/go.thumbnailer rename to assets/go.thumbnailer diff --git a/modules/thunar.nix b/modules/thunar.nix index 7c0d3da6..302687b3 100644 --- a/modules/thunar.nix +++ b/modules/thunar.nix @@ -6,7 +6,7 @@ environment.systemPackages = with pkgs; [ xfce.exo # Open with kitty support glib - (pkgs.callPackage ../packages/go-thumbnailer { }) + (pkgs.callPackage ../packages/go-thumbnailer.nix { }) ]; services.gvfs.enable = true; # Trash support diff --git a/packages/go-thumbnailer/default.nix b/packages/go-thumbnailer.nix similarity index 90% rename from packages/go-thumbnailer/default.nix rename to packages/go-thumbnailer.nix index 99a8f5a5..9c52f1d6 100644 --- a/packages/go-thumbnailer/default.nix +++ b/packages/go-thumbnailer.nix @@ -28,7 +28,7 @@ buildGoModule rec { postInstall = '' mkdir -p $out/share/thumbnailers - substituteAll ${./go.thumbnailer} $out/share/thumbnailers/go.thumbnailer + substituteAll ${../assets/go.thumbnailer} $out/share/thumbnailers/go.thumbnailer ''; meta = with lib; {