Created
November 3, 2024 18:48
-
-
Save onsah/493d583b5813a292c8ef5b344de04f39 to your computer and use it in GitHub Desktop.
Log shell.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
system ? builtins.currentSystem, | |
sources ? import ./npins, | |
}: | |
let | |
pkgs = import sources.nixpkgs { inherit system; }; | |
lib = pkgs.lib; | |
in | |
pkgs.mkShell { | |
buildInputs = with pkgs; [ electron_27 ]; | |
packages = with pkgs; [ | |
nodejs | |
yarn | |
clojure | |
python311 | |
]; | |
NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ | |
alsa-lib | |
at-spi2-atk | |
cairo | |
cups | |
dbus | |
expat | |
gdk-pixbuf | |
glib | |
gtk3 | |
nss | |
nspr | |
xorg.libX11 | |
xorg.libxcb | |
xorg.libXcomposite | |
xorg.libXdamage | |
xorg.libXext | |
xorg.libXfixes | |
xorg.libXrandr | |
xorg.libxkbfile | |
xorg.libXScrnSaver | |
xorg.libxshmfence | |
pango | |
pciutils | |
stdenv.cc.cc.lib | |
systemd | |
libdrm | |
mesa | |
libxkbcommon | |
libGL | |
vulkan-loader | |
]; | |
NIX_LD = lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment