-- phonesim.nix (phonesim module)
{ config, pkgs, lib, ... }:
with lib;
let
port = "12345";
-- phonesim.nix (phonesim module)
{ config, pkgs, lib, ... }:
with lib;
let
port = "12345";
#!/bin/bash | |
TEMPDIR=`mktemp -d` | |
ESLINTRC=$TEMPDIR/.eslintrc | |
COMMAND="eslint --color -c $ESLINTRC --rule 'import/no-unresolved: 0' --rule 'import/no-duplicates: 0' --rule 'import/export: 0'" | |
git show HEAD:.eslintrc > $ESLINTRC | |
echo "### Ensure changes follow our code style... ####" | |
# See https://www.kernel.org/pub/software/scm/git/docs/githooks.html#pre-receive |
;;; interactive javascript shell with elnode -*- lexical-binding: t -*- | |
(elnode-app elnode-ijs-dir comint uuid) | |
(defvar elnode-ijs/input nil | |
"Input for the js shell. | |
Each element is a cons of a uuid and the javascript to send.") | |
(defvar elnode-ijs/input-hash (make-hash-table :test 'equal) |