mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-10-06 00:22:44 +02:00
Update intro.md to echo the right nodejs version (#218)
This commit is contained in:
@@ -136,7 +136,7 @@ Here is a `flake.nix` that defines a development environment with Node.js 18 ins
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "node `${pkgs.nodejs}/bin/node --version`"
|
||||
echo "node `node --version`"
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -181,7 +181,7 @@ Here is an example:
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "node `${pkgs.nodejs}/bin/node --version`"
|
||||
echo "node `node --version`"
|
||||
exec nu
|
||||
'';
|
||||
};
|
||||
|
Reference in New Issue
Block a user