forked from Mirrors/doipjs
26 lines
532 B
Nix
26 lines
532 B
Nix
|
{
|
||
|
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 = ''
|
||
|
echo "node `${pkgs.nodejs_20}/bin/node --version`"
|
||
|
'';
|
||
|
};
|
||
|
});
|
||
|
|
||
|
}
|