42 lines
1.2 KiB
Nix
42 lines
1.2 KiB
Nix
let pkgs = import <nixpkgs> { overlays = [ (import ./cypress-overlay.nix) ]; };
|
|
unstable = import <unstable> {};
|
|
in pkgs.mkShell {
|
|
name = "matrix-shell";
|
|
buildInputs = with pkgs; [
|
|
yarn
|
|
nodejs
|
|
docker
|
|
act
|
|
gtk2
|
|
gtk3
|
|
rPackages.gbm
|
|
libnotify
|
|
gnome2.GConf
|
|
nss
|
|
xorg.libXScrnSaver
|
|
alsa-lib
|
|
xorg.xorgserver
|
|
xorg.libXtst
|
|
xorg.xauth
|
|
xvfb-run
|
|
(with dotnetCorePackages; combinePackages [ sdk_5_0 ])
|
|
stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype
|
|
fontconfig gdk-pixbuf cairo cups expat libgpg-error alsa-lib nspr nss
|
|
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
|
|
xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr
|
|
xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify
|
|
xorg.libxcb libsecret libuuid at-spi2-atk at-spi2-core libdbusmenu
|
|
libdrm
|
|
mesa # required for libgbm
|
|
unstable.cypress
|
|
];
|
|
shellHook = ''
|
|
export NAME="matrix-shell"
|
|
export CYPRESS_INSTALL_BINARY=0
|
|
export CYPRESS_RUN_BINARY=${unstable.cypress}/bin/Cypress
|
|
'';
|
|
# export NODE_OPTIONS=--openssl-legacy-provider
|
|
}
|
|
|
|
#https://gist.github.com/r-k-b/2485f977b476aa3f76a47329ce7f9ad4?permalink_comment_id=4402925
|