Add lightpanda headless browser as system package #15
No reviewers
Labels
No labels
backlog
bug
enhancement
in-progress
review
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ymrtech/nix-config!15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/lightpanda-package"
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?
Summary
Add lightpanda, the headless browser designed for AI and automation, as a system package on hosts/giga/default.nix.
How it works
Lightpanda isn't in nixpkgs and builds with Zig (with many deps: v8, curl, boringssl, sqlite3, etc.). Building from source takes 10+ minutes due to V8 compilation, so this uses a
stdenv.mkDerivationthat downloads the official prebuilt binary from GitHub releases.Package details
pkgs.stdenv.mkDerivationhttps://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linuxsha256-uaew+sXDkkxuaHgfzEGA5bXJHmEdw7WCr3qThdhaMqE=1.0.0-nightly.8320+a0fba9baVerification
Files changed
flake.lock- Updated (lightpanda input was already present)flake.nix- Updated (lightpanda input was already present)hosts/giga/default.nix- Added derivation toenvironment.systemPackagesView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.