shell.nix
author ymh <ymh.work@gmail.com>
Mon, 02 Feb 2026 18:27:25 +0100
changeset 1 f213403ee0c8
permissions -rw-r--r--
New version platform

#{ pkgs ? import <nixpkgs> }:
#  pkgs.mkShell {
#    # nativeBuildInputs is usually what you want -- tools you need to run
#    nativeBuildInputs = [ pkgs.nodejs ];
#}
with import <nixpkgs> {};

stdenv.mkDerivation {
    name = "node";
    buildInputs = [
        jq
        nodejs
        python3
        mercurial
    ];
    shellHook = ''
        export PATH="$PWD/node_modules/.bin/:$PATH"
        alias scripts='jq ".scripts" package.json'
    '';
}