2024-09-28 09:26:13 +00:00
|
|
|
{
|
|
|
|
pkgs ? import <nixpkgs> {},
|
|
|
|
quickshell-web ? pkgs.callPackage ./default.nix {},
|
2024-11-17 11:15:46 +00:00
|
|
|
}:
|
|
|
|
pkgs.mkShell {
|
|
|
|
inputsFrom = [quickshell-web];
|
2024-09-28 09:26:13 +00:00
|
|
|
|
2024-11-17 11:15:46 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
(pkgs.writeShellScriptBin "yarn-install-hack" ''
|
|
|
|
set -x
|
|
|
|
yarn install || true
|
|
|
|
mkdir -p node_modules/node/bin
|
|
|
|
ln -sf ${pkgs.nodejs_22}/bin/node node_modules/node/bin/node
|
|
|
|
yarn install
|
|
|
|
'')
|
|
|
|
pkgs.nodejs_22
|
|
|
|
];
|
2024-09-28 09:26:13 +00:00
|
|
|
|
|
|
|
YARN_NODE_LINKER = "node-modules";
|
|
|
|
}
|