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; };
|
passthru = { inherit scriptName; };
|
||||||
};
|
};
|
||||||
in rec {
|
in rec {
|
||||||
packages.mpvScripts.sub-select = mpvScript {
|
packages.mpv-sub-select = mpvScript {
|
||||||
owner = "CogentRedTester";
|
owner = "CogentRedTester";
|
||||||
repo = "mpv-sub-select";
|
repo = "mpv-sub-select";
|
||||||
rev = "5d2fb7ab73fc0e36d44109e75c9be26bd42084e2";
|
rev = "5d2fb7ab73fc0e36d44109e75c9be26bd42084e2";
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
scriptName = "sub-select.lua";
|
scriptName = "sub-select.lua";
|
||||||
};
|
};
|
||||||
|
|
||||||
packages.mpvScripts.segment-linking = mpvScript {
|
packages.mpv-segment-linking = mpvScript {
|
||||||
owner = "CogentRedTester";
|
owner = "CogentRedTester";
|
||||||
repo = "mpv-segment-linking";
|
repo = "mpv-segment-linking";
|
||||||
rev = "bb0fdb7961859df57c64b42d75dbbd60a4024e97";
|
rev = "bb0fdb7961859df57c64b42d75dbbd60a4024e97";
|
||||||
|
@ -41,9 +41,9 @@
|
||||||
nixosModules.mpv-anime = { ... }: {
|
nixosModules.mpv-anime = { ... }: {
|
||||||
nixpkgs.overlays = final: prev: {
|
nixpkgs.overlays = final: prev: {
|
||||||
mpv = prev.mpv.override {
|
mpv = prev.mpv.override {
|
||||||
scripts = with packages.mpvScripts; [
|
scripts = with packages; [
|
||||||
sub-select
|
mpv-sub-select
|
||||||
segment-linking
|
mpv-segment-linking
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue