Add booster add-on configuration #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "esavkin/defenestrate:booster-addon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +16,4 @@
gmqtt
miniconf
]))
pkgs.libtool
What would one need libtool for?
@ -0,0 +2,4 @@
let
gmqtt = callPackage /opt/booster/gmqtt.nix {};
in
indentation
@ -34,0 +35,4 @@
Add-on for Boosters:
* copy `booster` to the /opt
* mkdir -p ~/.config/nixpkgs && echo '{permittedInsecurePackages = ["electron-9*"];}' > ~/.config/nixpkgs/config.nix
* echo 'For Booster-related apps, use `nix-shell /opt/booster/booster_shell.nix`' > ~/README.md
Just install everything system-wide. And don't use
/opt
@ -0,0 +4,4 @@
mqtt-explorer = pkgs.callPackage /opt/booster/mqtt-explorer.nix {} ;
gmqtt = pkgs.callPackage /opt/booster/gmqtt.nix {};
miniconf = pkgs.callPackage /opt/booster/miniconf.nix {};
Use relative paths.
@ -0,0 +4,4 @@
name = "gmqtt";
version = "v0.6.12";
src = fetchFromGitHub {
owner = "wialon" ;
inconsistent indentation
@ -34,0 +34,4 @@
Add-on for Boosters:
* copy `booster` to the /opt
* mkdir -p ~/.config/nixpkgs && echo '{permittedInsecurePackages = ["electron-9*"];}' > ~/.config/nixpkgs/config.nix
Why
*
? Can you limit it to one or a few specific packages? Or just use the newer electron with fewer security problems?I tried newer electrons, but the latest working version is 9. All newer have blank screen for this app
@ -0,0 +15,4 @@
install -m 444 -D resources/app.asar $out/libexec/app.asar
install -m 444 -D mqtt-explorer.png $out/share/icons/mqtt-explorer.png
install -m 444 -D mqtt-explorer.desktop $out/share/applications/mqtt-explorer.desktop
makeWrapper ${electron_9}/bin/electron $out/bin/mqtt-explorer --add-flags $out/libexec/app.asar
Isn't the electron bloatware already included in the appimage binary? Is using the nixpkgs version instead the recommended way?
Not sure about recommended way, but changed to appimage-run
@ -0,0 +14,4 @@
installPhase = ''
install -m 444 -D resources/app.asar $out/libexec/app.asar
install -m 444 -D mqtt-explorer.png $out/share/icons/mqtt-explorer.png
install -m 444 -D mqtt-explorer.desktop $out/share/applications/mqtt-explorer.desktop
Does this work?
@ -0,0 +1,20 @@
{ stdenv, lib, fetchurl, appimageTools, electron_9, makeWrapper }:
stdenv.mkDerivation rec {
stdenvNoCC?
fb31a00dc8
to2b5e037a47
Checkout
From your project repository, check out a new branch and test the changes.