New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
emby: 3.4.1.0 -> 3.5.2.0 #46724
emby: 3.4.1.0 -> 3.5.2.0 #46724
Conversation
Are you planning to switch it over to the source build you found? |
That PKGBUILD is using the xbuild tool which has been deprecated in mono50 in favor of msbuild which currently isn't in nixpkgs. (see #29817) So my hunch is even if I were to try xbuild it might not work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, can you then leave a comment, maybe at the buildPhase
or src
, explaining that it only fetches a binary and that the source build is possible (linking to the PKGBUILD), but blocked on msbuild?
pkgs/servers/emby/default.nix
Outdated
|
||
makeWrapper "${mono54}/bin/mono" $out/bin/MediaBrowser.Server.Mono \ | ||
--add-flags "$out/bin/MediaBrowser.Server.Mono.exe -ffmpeg ${ffmpeg}/bin/ffmpeg -ffprobe ${ffmpeg}/bin/ffprobe" | ||
''; | ||
|
||
meta = { | ||
description = "MediaBrowser - Bring together your videos, music, photos, and live television"; | ||
homepage = https://emby.media/; | ||
license = stdenv.lib.licenses.gpl2; | ||
homepage = https://emby.media/; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't align on =
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've had other contributors actually request me to do this. (I now also prefer it)
Since there still isn't really a formal style guide, I don't think this should be a problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which other contributor? Horizontal alignment is bad because it
- obscures history (
git blame
) - makes diffs harder to read (what was actually changed)
- creates merge conflicts
- has to be maintained in the future
Instead if you do want horizontal alignment, you should get a plugin for your editor/IDE that shows lines aligned but does not actually change the source.
I agree with your point that there is no formal style guide, but since I'm opposed to this and I think its not just preference but actually worse in practice, I won't merge this. Someone else may of course.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
f378e91
to
ba62f9d
Compare
@@ -1,23 +1,30 @@ | |||
{ stdenv, fetchurl, pkgs, unzip, sqlite, makeWrapper, mono54, ffmpeg, ... }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why these were needed so I removed them.
(removed pkgs
and ...
)
ba62f9d
to
191ecf7
Compare
The point I made here stands. Not sure why github marks that as outdated. |
191ecf7
to
bd02b33
Compare
Thank you for your patience :) |
❇️ |
As noticed in the OP, this happens on upgrade:
I was able to fix this by adding u+w permissions on *.dll in |
In other words, this is what the directory looked like on my machine:
Apparently everything in there needed to be +w. |
Maybe we can do something here
that if this directory exists we ensure everything in it has the correct permissions. Though I wonder why it isn't so in the first place. |
This sort of global state should be avoided when possible because you won't be able to install two versions of emby at the same time with it and I'm not sure if its cleaned up after uninstall. |
@timokau Which global state? |
In |
Motivation for this change
An update and #44884 had conflicts.
@numinit noticed this
This is going on here Emby.Server.Implementations.ApplicationHost.CopyPlugins
Any ideas?
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)