about summary refs log tree commit diff
path: root/pkgs/profpatsch/execline
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/profpatsch/execline/e: better promptProfpatsch2020-01-261-12/+14
| | | | | | rlwrap has to do magic recognition, which breaks in most cases. We can just print a prompt before the first and after each consecutive command. Seems to work wonderfully.
* pkgs/profpatsch/execline/e: add prompt colorProfpatsch2020-01-261-0/+2
|
* pkgs/profpatsch/execline/e: fix buffering problemProfpatsch2020-01-261-3/+0
| | | | Forgot the cat after I added forstdin.
* pkgs/profpatsch/execline/e: fix line splittingProfpatsch2020-01-261-6/+6
|
* pkgs/profpatsch/execline: add eProfpatsch2020-01-261-0/+23
|
* pkgs/profpatsch/execline: add runblockProfpatsch2020-01-261-0/+69
|
* pkgs/profpatsch/write-execline: add all argparsing commandsProfpatsch2020-01-261-2/+20
| | | | | | In some cases (especially with `runblock`), the arguments need to be accessible as environment variables, so we need a way to pass that to execline.
* escape: support pathsYorick2020-01-181-0/+1
| | | This makes ./foo work.
* machines/profpatsch,pkgs/profpatsch: rm `execlineb-with-builtins`Profpatsch2019-12-081-2/+2
| | | | | | | This has been upstreamed to nixpkgs proper, as a C wrapper script, in https://github.com/NixOS/nixpkgs/pull/71357 So we don’t even need bash to run execline anymore :P
* pkgs/profpatsch/execline: use -W instead of EXECLINE_STRICTProfpatsch2019-12-081-2/+1
| | | | | | EXECLINE_STRICT does not apply to the `execlineb` command itself, so we don’t get any errors if the nesting is incorrect. `-W` does set it for `execlineb` however.
* pkgs/profpatsch/write-exeline: fix ./escape.nix importProfpatsch2019-11-021-1/+1
|
* pkgs/profpatsch: writeExecline, writeExeclineLocalProfpatsch2019-10-021-0/+18
| | | | | similar to writeScript, but writes an execline instead. Should be upstreams to `lib.writers` sometimes.
* pkgs/profpatsch/runExecline: move to writeCommand formProfpatsch2019-09-263-62/+51
| | | | | | | | It’s conventional that these tools have the form tool name options data so we should adhere to that.
* pkgs/profpatsch/runExecline: move to listProfpatsch2019-09-264-45/+82
| | | | | We can auto-escape execlines correctly if we model them as nix-style lists, so we shoud certainly do so. It also helps abstraction.
* pkgs/profpatsch: export runExeclineLocal & run tests locallyProfpatsch2019-09-241-7/+19
|
* machines/haku: open less ports in firewallProfpatsch2019-05-161-0/+1
|
* pkgs.profpatsch: switch to different import schemeProfpatsch2018-09-222-21/+18
| | | | | Reference files in `bin` outputs for a derivation as an attribute set, with renaming capabilities.
* More execline experiments & testingProfpatsch2018-09-212-7/+119
| | | | | | Improves the “execline experience” and adds some basic tests. The idea is that the final result doesn’t use coreutils and provides a feasible alternative to bash-based tooling.
* pkgs/profpatsch: WIP execline experimentsProfpatsch2018-07-253-0/+133
* runExecline: like runCommand, but a lot more lightweight * symlink: symlink a given list of links together * importer: a small DSL to “import” “modules” into a build context Some highlights: * runExecline does not use any stdenv (apart from the `execline` build) * symlink uses netstrings to pass correct fields into the derivation * no use of bash, everything uses execline.