Created
November 24, 2020 13:34
-
-
Save PetarKirov/28aefbd2fded4d7777eac8a886dcf6a1 to your computer and use it in GitHub Desktop.
Nix: use specific version of Nodejs and set LD_LIBRARY_PATH
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
{ pkgs ? import <nixpkgs> { } }: | |
with pkgs; | |
mkShell { | |
buildInputs = [ | |
fish | |
git | |
nodejs-12_x | |
(yarn.override { nodejs = nodejs-12_x; }) | |
gnumake | |
python3 | |
gccStdenv | |
eudev | |
libusb1 | |
libusb1.dev | |
pkg-config | |
which | |
]; | |
LD_LIBRARY_PATH="${libusb1}/lib"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment