Skip to content

fix: make yarn from nix flake use the right version of node #11716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# Workaround for: terraform has an unfree license (‘bsl11’), refusing to evaluate.
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
formatter = pkgs.nixpkgs-fmt;
nodejs = pkgs.nodejs-18_x;
yarn = pkgs.yarn.override { inherit nodejs; };
# Check in https://search.nixos.org/packages to find new packages.
# Use `nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update`
# to update the lock file if packages are out-of-date.
Expand Down Expand Up @@ -46,11 +48,11 @@
libuuid
mockgen
nfpm
nodejs-18_x
nodejs-18_x.pkgs.pnpm
nodejs-18_x.pkgs.prettier
nodejs-18_x.pkgs.typescript
nodejs-18_x.pkgs.typescript-language-server
nodejs
nodejs.pkgs.pnpm
nodejs.pkgs.prettier
nodejs.pkgs.typescript
nodejs.pkgs.typescript-language-server
openssh
openssl
pango
Expand Down