mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +01:00
28 lines
822 B
Nix
28 lines
822 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
mpvScript = pkgs.runCommandLocal "mpvScript" { scriptName = "something"; }
|
|
"mkdir $out";
|
|
|
|
mpv-unwrapped = super.mpv-unwrapped.overrideAttrs {
|
|
builder = pkgs.writeShellScript "dummy" ''
|
|
PATH=${pkgs.coreutils}/bin
|
|
mkdir -p $dev $man $out/bin $out/Applications/mpv.app/Contents/MacOS
|
|
touch $out/bin/{mpv,umpv} \
|
|
$out/Applications/mpv.app/Contents/MacOS/{mpv,mpv-bundle}
|
|
chmod +x $out/bin/{mpv,umpv} \
|
|
$out/Applications/mpv.app/Contents/MacOS/{mpv,mpv-bundle}
|
|
'';
|
|
};
|
|
|
|
lua = pkgs.emptyDirectory.overrideAttrs {
|
|
luaversion = "0";
|
|
withPackages = ps: pkgs.emptyDirectory;
|
|
};
|
|
})
|
|
];
|
|
|
|
test.stubs = { yt-dlp = { }; };
|
|
}
|