Skip to content

Commit

Permalink
Update npm binstub to 6.14.3 (#7779)
Browse files Browse the repository at this point in the history
* bin/np{m,x} use nodePackages.npm
* Update nix pin
  • Loading branch information
nicknovitski authored Apr 9, 2020
1 parent a51ca78 commit 11e4fa9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/npm
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /usr/bin/env bash
# This file was generated by nix-binstubs
exec nix run -f "$(dirname "$0")/../nix" nodejs --command npm "$@"
exec nix run -f "$(dirname "$0")/../nix" nodePackages.npm --command npm "$@"
2 changes: 1 addition & 1 deletion bin/npx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#! /usr/bin/env bash
# This file was generated by nix-binstubs
exec nix run -f "$(dirname "$0")/../nix" nodejs --command npx "$@"
exec nix run -f "$(dirname "$0")/../nix" nodePackages.npm --command npx "$@"
6 changes: 3 additions & 3 deletions nix/nixpkgs.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"url": "https://github.com/NixOS/nixpkgs-channels.git",
"rev": "58fb23f72ad916c8bbfa3c3bc2d0c83c9cfcdd16",
"date": "2019-11-20T08:40:07+01:00",
"sha256": "0f7gnsis5hdrdcmiv7s06qz02pszmmfxrqvc77jf0lmc86i25x9i",
"rev": "f601ab37c2fb7e5f65989a92df383bcd6942567a",
"date": "2020-04-05T00:41:06-04:00",
"sha256": "0ikhcmcc29iiaqjv5r91ncgxny2z67bjzkppd3wr1yx44sv7v69s",
"fetchSubmodules": false
}
4 changes: 4 additions & 0 deletions update-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ bin/nix-binstubs \
xcpretty \
yarn

# get newer npm
rm bin/np*
bin/nix-binstubs nodePackages.npm

# Generate lockfile and nix file for ruby gems
for gem in fastlane; do
pushd nix/$gem
Expand Down

0 comments on commit 11e4fa9

Please sign in to comment.