-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
riot-desktop: init at 1.0.4 #57838
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
riot-desktop: init at 1.0.4 #57838
Conversation
6273a4b
to
03517c3
Compare
Solved. Not relevant anymore.
From #riot:matrix.org:
|
7ae3629
to
6976eed
Compare
Solved. Not relevant anymore.
|
e12de61
to
81948f8
Compare
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.
Would it be possible to share more with the riot-web
package?
@bachp said:
The |
60f375c
to
e0126ad
Compare
I think this is ready to be merged. |
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.
pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
Outdated
Show resolved
Hide resolved
|
||
# executable wrapper | ||
mkdir -p "$out/bin" | ||
cat > "$out/bin/${executableName}" <<EOF |
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.
You can add makeWrapper
to nativeBuildInputs
and do
makeWrapper ${electron}/bin/electron $out/bin/${pname} \
--add-flags $out/share/riot/electron
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.
Replaced.
pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
Outdated
Show resolved
Hide resolved
e0126ad
to
839c988
Compare
@pacien Thanks a lot for your contribution ❇️ |
Motivation for this change
This introduces a package for the Electron version of the Riot instant messaging client.
This PR is heavily inspired by @Ralith's https://github.com/Ralith/riot-electron-nix.
Upstream is switching from npm to yarn, so I attempted to use yarn2nix to obtain a nix expression for all the dependencies.
Yarn seems to complain about not being able to download dependencies even though they are present in the freshly-built offline cache. I'm not sure whether I've hit a bug in Yarn.It was a yarn2nix version mismatch.New problems have been unlocked (see comments).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)