Add a dev shell with node 18
This commit is contained in:
parent
f86db8753e
commit
b424490003
10
flake.nix
10
flake.nix
|
@ -43,6 +43,16 @@
|
||||||
PS1="(develop) $PS1"
|
PS1="(develop) $PS1"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
client = let
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in pkgs.mkShell {
|
||||||
|
packages = [
|
||||||
|
pkgs.nodejs_18
|
||||||
|
];
|
||||||
|
shellHook = ''
|
||||||
|
PS1="(client) $PS1"
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
|
|
Loading…
Reference in New Issue