With the Nixpkgs plantuml:
- either have to set env var (awkward),
- custom derivation overriding it to be headless,
- or install
graphvizseparately.
| https://github.com/NixOS/nixpkgs/blob/1272e6aed4e1837d7df33006537da299d677edea/pkgs/stdenv/generic/default.nix#L135 | |
| https://github.com/NixOS/nixpkgs/blob/1272e6aed4e1837d7df33006537da299d677edea/pkgs/build-support/wrapper-common/darwin-sdk-setup.bash#L13 |
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.python311.pkgs.callPackage ./hello.nix {} |
| { buildPythonPackage | |
| , foo | |
| }: | |
| buildPythonPackage { | |
| pname = "bar"; | |
| version = "1.0.0"; | |
| src = ./bar; | |
| doCheck = false; | |
| pythonImportsCheck = ["bar"]; |
| .PHONY: all foo bar | |
| all: | |
| echo "true" | |
| foo: | |
| echo "foo" | |
| bar: | |
| exit 1 | |
| { | |
| "nodes": { | |
| "flake-utils": { | |
| "inputs": { | |
| "systems": "systems" | |
| }, | |
| "locked": { | |
| "lastModified": 1710146030, | |
| "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", | |
| "owner": "numtide", |
| #!/usr/bin/env python3 | |
| # Run with: | |
| # python chat_bot.py [Twitch or Youtube Livestream URL] [Twitch or Youtube Livestream URL] ... | |
| import argparse | |
| import asyncio | |
| import json | |
| import sys | |
| from urllib.parse import urlparse, parse_qs |
| boop |
| 5 |
Differences:
| vim mode | vim | helix | note |
|---|---|---|---|
| 0 | gh | ||
| ^ | gs | ||
| $ | gl | ||
| gq | = | format. TBI in helix. Vim’s = is ‘indent’. | |
| C-v i | C i | Or Alt-s to split selection on newline. | |
| C | v gl c |