keyoxide-web/flake.nix
2024-06-14 10:03:33 +02:00

28 lines
No EOL
644 B
Nix

{
description = "keyoxide-web";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05";
utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, utils }:
utils.lib.eachDefaultSystem (system:
let
name = "keyoxide-web";
pkgs = import nixpkgs { inherit system; };
in
{
# nix develop
devShell = with pkgs; mkShell {
buildInputs = [
nodejs_20
];
shellHook = ''
echo "node: `${nodejs_20}/bin/node --version`"
echo "npm: `${nodejs_20}/bin/npm --version`"
'';
};
});
}