mirror of
https://codeberg.org/keyoxide/doipjs.git
synced 2024-12-22 14:39:28 -07:00
27 lines
No EOL
586 B
Nix
27 lines
No EOL
586 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: `${nodejs_20}/bin/node --version`"
|
|
echo "npm: `${nodejs_20}/bin/npm --version`"
|
|
'';
|
|
};
|
|
});
|
|
|
|
} |