mirror of
https://github.com/Pantonius/pantosite-astro.git
synced 2026-04-26 09:24:38 +00:00
Some changes
This commit is contained in:
19
shell.nix
19
shell.nix
@@ -1,9 +1,14 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
# nativeBuildInputs is usually what you want -- tools you need to run
|
||||
nativeBuildInputs = with pkgs.buildPackages; [ nodejs_22 ];
|
||||
{
|
||||
pkgs ? import <nixpkgs> { },
|
||||
}:
|
||||
|
||||
shellHook = ''
|
||||
echo "Hello, Nix!"
|
||||
'';
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
nodejs
|
||||
nodePackages.npm
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo Welcome!
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user