Skip to content

Commit

Permalink
flake.lock: Update
Browse files Browse the repository at this point in the history
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/2c94b9801f1a11cde0fc97aa850687bb9137d42c' (2022-07-13)
  → 'github:nix-community/home-manager/4c5106ed0f3168ff2df21b646aef67e86cbfc11c' (2022-07-15)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/38860c9e91cb00f4d8cd19c7b4e36c45680c89b5' (2022-07-11)
  → 'github:nixos/nixpkgs/8f485713f5e6b6883a9b6959afa98688360a3ecb' (2022-07-16)

Also had to downgrade Node.js version in Pengu since it started to fail with:

	npm info run @parcel/watcher@2.0.5 install node_modules/@parcel/watcher node-gyp-build
	npm info run bufferutil@4.0.6 install node_modules/bufferutil node-gyp-build
	npm info run lmdb@2.2.4 install node_modules/lmdb node-gyp-build
	npm info run msgpackr-extract@2.0.2 install node_modules/msgpackr-extract node-gyp-build-optional-packages
	npm info run utf-8-validate@5.0.9 install node_modules/utf-8-validate node-gyp-build
	npm info run utf-8-validate@5.0.9 install { code: 126, signal: null }e@5.
	npm info run msgpackr-extract@2.0.2 install { code: 126, signal: null }
	npm verb reify failed optional dependency /build/source/node_modules/msgpackr-extract
	npm verb reify failed optional dependency /build/source/node_modules/node-gyp-build-optional-packages
	npm timing build:run:install:node_modules/msgpackr-extract Completed in 35ms
	npm info run lmdb@2.2.4 install { code: 126, signal: null }
	npm info run bufferutil@4.0.6 install { code: 126, signal: null }
	npm info run @parcel/watcher@2.0.5 install { code: 126, signal: null }
	npm timing reify:rollback:createSparse Completed in 403msr@2r@2
	npm timing reify:rollback:retireShallow Completed in 0ms
	npm timing command:install Completed in 6310ms
	npm verb stack Error: command failed
	npm verb stack     at ChildProcess.<anonymous> (/nix/store/vcfm2pcj8dl8inyg93hwrbwkfn3kfr7v-nodejs-18.6.0/lib/node_modules/npm/node_modules/@npmcli/promise-spawn/lib/index.js:63:27)
	npm verb stack     at ChildProcess.emit (node:events:513:28)
	npm verb stack     at maybeClose (node:internal/child_process:1091:16)
	npm verb stack     at Socket.<anonymous> (node:internal/child_process:449:11)
	npm verb stack     at Socket.emit (node:events:513:28)
	npm verb stack     at Pipe.<anonymous> (node:net:757:14)
	npm verb pkgid utf-8-validate@5.0.9
	npm verb cwd /build/source
	npm verb Linux 5.18.10
	npm verb node v18.6.0
	npm verb npm  v8.13.2
	npm ERR! code 126
	npm ERR! path /build/source/node_modules/utf-8-validate
	npm ERR! command failed
	npm ERR! command sh -c /build/install6584764974.sh
	npm ERR! sh: /build/install6584764974.sh: /usr/bin/env: bad interpreter: No such file or directory
	npm verb exit 126

But bumping its dependencies did not help.

Bisected that to to the following commit in Nixpkgs:

	commit 5ad0643e1c0b6ec442754b34316814ea212a76a3
	Author: R. Ryantm <ryantm-bot@ryantm.com>
	Date:   Thu Jul 14 10:05:53 2022 +0000

	    nodejs-18_x: 18.5.0 -> 18.6.0

And node.js:

	commit 0636f86eccdf1c343fe94c16926160dbdefa2553
	Author: npm CLI robot <npm-cli+bot@github.com>
	Date:   Fri Jun 24 18:21:50 2022 -0700

	    deps: upgrade npm to 8.13.1

	    PR-URL: nodejs/node#43552
  • Loading branch information
jtojnar committed Jul 20, 2022
1 parent 3783acb commit 25feecd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Expand Up @@ -95,7 +95,7 @@
# Take only napalm attribute from napalm overlay and
# pass it the latest nodejs.
(lib.pipe napalm.overlay [
(locallyOverrideFinal (final: { nodejs = final.nodejs_latest; }))
(locallyOverrideFinal (final: { nodejs = final.nodejs; }))
(filterOverlayAttrs [ "napalm" ])
])

Expand Down
4 changes: 1 addition & 3 deletions pkgs/pengu/default.nix
Expand Up @@ -2,7 +2,7 @@
runCommand,
fetchFromGitHub,
napalm,
nodejs_latest,
nodejs,
python3,
unstableGitUpdater,
}:
Expand All @@ -17,8 +17,6 @@ let
npm config set audit false
'';

nodejs = nodejs_latest;

src = fetchFromGitHub {
owner = "jtojnar";
repo = "pengu";
Expand Down

0 comments on commit 25feecd

Please sign in to comment.