From 680dd5c2d83f638aaac980ded67dde30c1951f09 Mon Sep 17 00:00:00 2001 From: Meghea Iulian Date: Wed, 22 Jun 2022 20:20:03 +0300 Subject: [PATCH] chore: cleanup --- shell.nix | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 shell.nix diff --git a/shell.nix b/shell.nix deleted file mode 100644 index d1d7eb1..0000000 --- a/shell.nix +++ /dev/null @@ -1,24 +0,0 @@ -# see https://nixos.wiki/wiki/Development_environment_with_nix-shell -{}: -with import - ( - builtins.fetchTarball { - url = "https://github.com/NixOS/nixpkgs/archive/daaa0e33505082716beb52efefe3064f0332b521.tar.gz"; - sha256 = "15vprzpbllp9hy5md36ch1llzhxhd44d291kawcslgrzibw51f95"; - } - ) -{ }; -mkShell { - buildInputs = [ nodejs-12_x python3 firefox jre azure-storage-azcopy google-chrome ]; - shellHook = '' - export CHROME_BIN=${google-chrome}/bin/google-chrome-stable - export PATH=$(npm bin):$PATH - - link_selenium () { - if [ -d "./node_modules" ]; then - ln -sfnv "${chromedriver}/bin/chromedriver" "$(find "./node_modules" -path '**/chromedriver/*-chromedriver')" - ln -sfnv "${geckodriver}/bin/geckodriver" "$(find "./node_modules" -path '**/geckodriver/*-geckodriver')" - fi - } - ''; -}