mirror of
https://codeberg.org/keyoxide/keyoxide-web.git
synced 2024-12-22 14:59:29 -07:00
16 lines
379 B
Nix
16 lines
379 B
Nix
|
|
{ pkgs ? import <nixpkgs> {}}:
|
|
let
|
|
unstable = import (fetchTarball "https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz") {};
|
|
in
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
nodejs
|
|
yarn
|
|
xvfb_run
|
|
unstable.cypress
|
|
];
|
|
|
|
CYPRESS_INSTALL_BINARY=0; #skip installing the Cypress binary from yarn
|
|
CYPRESS_RUN_BINARY="${unstable.cypress}/bin/Cypress";
|
|
}
|