packages need to be derivations, not attrsets of derivations
This commit is contained in:
parent
f121ec0a0b
commit
e2d87a1014
10
flake.nix
10
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
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue