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