Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ github.token }}
run: |
reviewdog -reporter=github-pr-review -fail-on-error
reviewdog -reporter=github-pr-review -fail-level=any

post-workflow:
uses: ./.github/workflows/agent-of-me.yml
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@
pkgs
lib
nodejs
nodejs-slim
stdenv
;
};
Expand Down
3 changes: 2 additions & 1 deletion pkgs/node-packages/composition.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
},
system ? builtins.currentSystem,
nodejs ? pkgs."nodejs_22",
nodejs-slim ? pkgs."nodejs-slim_22",
}:

let
Expand All @@ -17,7 +18,7 @@ let
writeTextFile
writeShellScript
;
inherit pkgs nodejs;
inherit pkgs nodejs nodejs-slim;
libtool = if pkgs.stdenv.hostPlatform.isDarwin then pkgs.cctools or pkgs.darwin.cctools else null;
};
in
Expand Down
1 change: 1 addition & 0 deletions pkgs/node-packages/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
pkgs,
lib,
nodejs,
nodejs-slim,
stdenv,
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/node-packages/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ nix run nixpkgs#node2nix -- \
-o node-packages.nix \
-c /dev/null \
--no-copy-node-env \
--pkg-name nodejs_22
--pkg-name nodejs-slim_22
5 changes: 3 additions & 2 deletions pkgs/node-packages/node-env.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
lib,
stdenv,
nodejs,
nodejs-slim,
pkgs,
libtool,
runCommand,
Expand Down Expand Up @@ -231,7 +232,7 @@ let
# Extract the Node.js source code which is used to compile packages with
# native bindings
nodeSources = runCommand "node-sources" { } ''
tar --no-same-owner --no-same-permissions -xf ${nodejs.src}
tar --no-same-owner --no-same-permissions -xf ${nodejs-slim.src}
mv node-* $out
'';

Expand Down Expand Up @@ -625,7 +626,7 @@ let

meta = {
# default to Node.js' platforms
platforms = nodejs.meta.platforms;
platforms = nodejs-slim.meta.platforms;
}
// meta;
}
Expand Down
Loading
Loading