Skip to content

Update prerequisites.mdx Nix-Shell configuration #3453

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

Open
wants to merge 3 commits into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 24 additions & 14 deletions src/content/docs/start/prerequisites.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,25 @@ Using `nix-shell`:
```nix
let
pkgs = import <nixpkgs> { };

libraries = [
pkgs.at-spi2-atk
pkgs.atkmm
pkgs.cairo
pkgs.gdk-pixbuf
pkgs.glib
pkgs.gtk3
pkgs.harfbuzz
pkgs.librsvg
pkgs.libsoup_3
pkgs.pango
pkgs.webkitgtk_4_1
pkgs.openssl
];

linkedLibraries = [
pkgs.libappindicator
];
in
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
Expand All @@ -137,20 +156,11 @@ pkgs.mkShell {
nodejs
];

buildInputs = with pkgs;[
at-spi2-atk
atkmm
cairo
gdk-pixbuf
glib
gtk3
harfbuzz
librsvg
libsoup_3
pango
webkitgtk_4_1
openssl
];
buildInputs = libraries ++ linkedLibraries;

env = {
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath linkedLibraries;
};
}
```

Expand Down