File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change 13
13
in
14
14
{
15
15
devShells . default = pkgs . mkShell {
16
- # System-level dependencies required by the project.
17
- # These versions are based on your project's configuration files.
18
16
buildInputs = with pkgs ; [
19
- # Hugo Extended v0.147.7+
20
17
hugo
21
-
22
- # Go v1.24.3+
23
18
go_1_24
24
-
25
- # Node.js v22.x+
26
19
nodejs_22
27
-
28
- # Git is good practice to include
29
20
git
30
-
31
- # Required by Puppeteer, a dev dependency in package.json
32
- # This prevents Puppeteer from downloading its own browser binary.
33
21
chromium
34
-
35
- # Add bash-completion to prevent shell startup errors
36
22
bash-completion
37
23
] ;
38
24
39
- # Set environment variables required for the shell.
40
25
shellHook = ''
41
- # Point Puppeteer to the Chromium binary provided by Nixpkgs
42
26
export PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
43
27
export PUPPETEER_EXECUTABLE_PATH="${ pkgs . chromium } /bin/chromium"
44
28
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
+
45
33
echo ""
46
34
echo "----------------------------------------------------"
47
35
echo " Welcome to the Open Neuromorphic dev environment! "
You can’t perform that action at this time.
0 commit comments