Skip to content

Commit 4b8285e

Browse files
committed
build: pinning nixpkgs version to fix dependency problem with gyp
[ci skip]
1 parent 7e85e80 commit 4b8285e

File tree

3 files changed

+18
-82
lines changed

3 files changed

+18
-82
lines changed

flake.lock

+5-22
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
{
22
inputs = {
3-
nixpkgs-matrix = {
4-
type = "indirect";
5-
id = "nixpkgs-matrix";
3+
nixpkgs = {
4+
type = "github";
5+
owner = "NixOS";
6+
repo = "nixpkgs";
7+
rev = "ea5234e7073d5f44728c499192544a84244bf35a";
68
};
79
flake-utils.url = "github:numtide/flake-utils";
810
};
911

10-
outputs = { nixpkgs-matrix, flake-utils, ... }:
12+
outputs = { nixpkgs, flake-utils, ... }:
1113
flake-utils.lib.eachDefaultSystem (system:
1214
let
13-
pkgs = nixpkgs-matrix.legacyPackages.${system};
15+
pkgs = nixpkgs.legacyPackages.${system};
1416
shell = { ci ? false }:
1517
with pkgs;
1618
mkShell {
1719
nativeBuildInputs =
18-
[ nodejs_20 nodejs.python clang-tools shellcheck gitAndTools.gh ];
20+
[ nodejs_20 nodejs_20.python clang-tools shellcheck gitAndTools.gh ];
1921
# Don't set rpath for native addons
2022
NIX_DONT_SET_RPATH = true;
2123
NIX_NO_SELF_RPATH = true;

package-lock.json

+5-54
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)