From e2d87a1014af0ecad753eefce4c18a83b16a8596 Mon Sep 17 00:00:00 2001 From: xenofem Date: Fri, 3 Mar 2023 23:24:50 -0500 Subject: [PATCH] packages need to be derivations, not attrsets of derivations --- flake.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index b7c8df0..b6e3413 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ passthru = { inherit scriptName; }; }; in rec { - packages.mpvScripts.sub-select = mpvScript { + packages.mpv-sub-select = mpvScript { owner = "CogentRedTester"; repo = "mpv-sub-select"; rev = "5d2fb7ab73fc0e36d44109e75c9be26bd42084e2"; @@ -30,7 +30,7 @@ scriptName = "sub-select.lua"; }; - packages.mpvScripts.segment-linking = mpvScript { + packages.mpv-segment-linking = mpvScript { owner = "CogentRedTester"; repo = "mpv-segment-linking"; rev = "bb0fdb7961859df57c64b42d75dbbd60a4024e97"; @@ -41,9 +41,9 @@ nixosModules.mpv-anime = { ... }: { nixpkgs.overlays = final: prev: { mpv = prev.mpv.override { - scripts = with packages.mpvScripts; [ - sub-select - segment-linking + scripts = with packages; [ + mpv-sub-select + mpv-segment-linking ]; }; };