-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
blockbench: 4.8.1 -> 4.9.4, build from source, rename package #279795
Conversation
this looks wonderful at a first glance! I think you should go ahead with that rename, making sure to preserve backwards compat using |
Huh, seems like all current PR workflows are getting internal server errored |
@ckiee previously there was a line which added
Why was this needed originally? Was it just something needed for pre-packaged electron apps? |
yes, i think they just shipped some weird binary, i'm not too sure - probably a libstdc++ thing |
42662c8
to
f9e1310
Compare
Oh sorry about that other PR I lost track of this one. I'll take a look. |
desktopItems = [ | ||
(makeDesktopItem { | ||
name = "blockbench"; | ||
exec = "blockbench --no-sandbox %U"; |
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 like the --no-sandbox
, we probably don't need it.
(Pushed a fix)
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.
nice work! (:
Description of changes
Closes #279495
Supersedes #264654 (has the same fix)
Related tracking issue: #295770
Other than changing the version, I also changed the package to use
buildNpmPackage
.I moved the package over to
pkgs/by-name
under the new name ofblockbench
I also added an alias so as to not break existing configs with the rename.
According to upstream, this should use
electron_26
. However, one of my machines always crashes when runningelectron_26
, so I usedelectron_28
which should not be EOL for a while. It seems to run okay even with a version mismatch.Other changes:
with lib;
frommeta
meta.changelog
meta.description
meta.mainProgram
meta.broken
to signal broken darwin builds--dir
flag on electron-builder unfortunately doesn't generate the icons)meta.maintainers
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.