Skip to content

Commit 862e572

Browse files
committed
chore(flake): Update devShell buildInputs and shellHook
1 parent 560fe85 commit 862e572

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

flake.nix

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,35 +13,23 @@
1313
in
1414
{
1515
devShells.default = pkgs.mkShell {
16-
# System-level dependencies required by the project.
17-
# These versions are based on your project's configuration files.
1816
buildInputs = with pkgs; [
19-
# Hugo Extended v0.147.7+
2017
hugo
21-
22-
# Go v1.24.3+
2318
go_1_24
24-
25-
# Node.js v22.x+
2619
nodejs_22
27-
28-
# Git is good practice to include
2920
git
30-
31-
# Required by Puppeteer, a dev dependency in package.json
32-
# This prevents Puppeteer from downloading its own browser binary.
3321
chromium
34-
35-
# Add bash-completion to prevent shell startup errors
3622
bash-completion
3723
];
3824

39-
# Set environment variables required for the shell.
4025
shellHook = ''
41-
# Point Puppeteer to the Chromium binary provided by Nixpkgs
4226
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
4327
export PUPPETEER_EXECUTABLE_PATH="${pkgs.chromium}/bin/chromium"
4428
29+
# Set a nice, readable prompt for the Nix shell
30+
# This is the corrected version.
31+
export PS1="\\[\\033[01;32m\\][nix-dev]\\[\\033[00m\\] \\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ "
32+
4533
echo ""
4634
echo "----------------------------------------------------"
4735
echo " Welcome to the Open Neuromorphic dev environment! "

0 commit comments

Comments
 (0)