Skip to content

Commit

Permalink
Merge pull request #334383 from dotlambda/yarn
Browse files Browse the repository at this point in the history
nodePackages.yarn: drop
  • Loading branch information
drupol authored Aug 13, 2024
2 parents 629a489 + 87d6cc6 commit a7b5530
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 25 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/misc/tandoor-recipes/frontend.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchYarnDeps, fixup-yarn-lock, callPackage, nodejs }:
{ stdenv, fetchYarnDeps, fixup-yarn-lock, callPackage, nodejs, yarn }:
let
common = callPackage ./common.nix { };
in
Expand All @@ -16,7 +16,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [
fixup-yarn-lock
nodejs
nodejs.pkgs.yarn
yarn
];

configurePhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/by-name/me/mealie/mealie-frontend.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
src: version:
{ lib, fetchYarnDeps, nodejs_18, fixup-yarn-lock, stdenv }: stdenv.mkDerivation {
{ lib, fetchYarnDeps, nodejs_18, fixup-yarn-lock, stdenv, yarn }: stdenv.mkDerivation {
name = "mealie-frontend";
inherit version;
src = "${src}/frontend";
Expand All @@ -12,7 +12,7 @@ src: version:
nativeBuildInputs = [
fixup-yarn-lock
nodejs_18
nodejs_18.pkgs.yarn
(yarn.override { nodejs = nodejs_18; })
];

configurePhase = ''
Expand Down
1 change: 1 addition & 0 deletions pkgs/development/node-packages/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ mapAliases {
inherit (pkgs) wrangler; # added 2024-07-01
inherit (pkgs) write-good; # added 2023-08-20
inherit (pkgs) yaml-language-server; # added 2023-09-05
inherit (pkgs) yarn; # added 2024-08-13
inherit (pkgs) yo; # added 2023-08-20
zx = pkgs.zx; # added 2023-08-01
}
1 change: 0 additions & 1 deletion pkgs/development/node-packages/node-packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,4 @@
, "wring"
, "@yaegassy/coc-nginx"
, "yalc"
, "yarn"
]
18 changes: 0 additions & 18 deletions pkgs/development/node-packages/node-packages.nix

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

2 changes: 1 addition & 1 deletion pkgs/development/tools/electron-fiddle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
, nodejs_18
, stdenvNoCC
, util-linux
, yarn
, zip
}:

Expand All @@ -34,7 +35,6 @@ let
hash = "sha256-1sxd3eJ6/WjXS6XQbrgKUTNUmrhuc1dAvy+VAivGErg=";
};

inherit (nodejs.pkgs) yarn;
offlineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-dwhwUWwv6RYKEMdhRBvKVXvM8n1r+Qo0D3/uFsWIOpw=";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
, matrix-sdk-crypto-nodejs
, nixosTests
, nix-update-script
, yarn
}:

let
Expand Down Expand Up @@ -36,7 +37,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [
fixup-yarn-lock
nodejs-slim
nodejs.pkgs.yarn
yarn
nodejs.pkgs.node-gyp-build
];

Expand Down

0 comments on commit a7b5530

Please sign in to comment.