22 lines
362 B
Nix
22 lines
362 B
Nix
with import <nixpkgs> {};
|
|
with pkgs.yarn;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "yarn";
|
|
buildInputs = [
|
|
nodejs
|
|
(yarn.override { nodejs = nodejs; })
|
|
mozjpeg
|
|
optipng
|
|
autoconf
|
|
automake];
|
|
src = null;
|
|
shellHook = ''
|
|
unset http_proxy
|
|
export GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt
|
|
SOURCE_DATE_EPOCH=$(date +%s)
|
|
zsh
|
|
'';
|
|
}
|
|
|