doipjs/flake.nix

27 lines
586 B
Nix
Raw Permalink Normal View History

2024-06-02 06:03:17 -06:00
{
description = "doipjs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs { inherit system; };
in
{
devShell = with pkgs; mkShell {
buildInputs = [
nodejs_20
];
shellHook = ''
2024-06-15 11:19:36 -06:00
echo "node: `${nodejs_20}/bin/node --version`"
echo "npm: `${nodejs_20}/bin/npm --version`"
2024-06-02 06:03:17 -06:00
'';
};
});
}