onny:notizen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| onny:notizen [2026/07/02 12:30] – [packaging] fdc9:281f:4d7:9ee9::1 | onny:notizen [2026/07/14 09:42] (current) – [packaging] 10.250.0.1 | ||
|---|---|---|---|
| Line 1224: | Line 1224: | ||
| <code bash> | <code bash> | ||
| nix-shell -p ' | nix-shell -p ' | ||
| - | </ | ||
| - | |||
| - | fetchpatch array | ||
| - | |||
| - | < | ||
| - | patches = map fetchpatch [ | ||
| - | /* This patch is currently necessary for the unit test suite to run correctly. | ||
| - | * See https:// | ||
| - | * and https:// | ||
| - | */ | ||
| - | #{ | ||
| - | # name = " | ||
| - | # sha256 = " | ||
| - | # url = " | ||
| - | #} | ||
| - | |||
| - | # This patch fixes test compile issues with glibc 2.33+. | ||
| - | #{ | ||
| - | # name = " | ||
| - | # sha256 = " | ||
| - | # url = " | ||
| - | #} | ||
| </ | </ | ||
| Line 1280: | Line 1258: | ||
| }; | }; | ||
| }; | }; | ||
| + | </ | ||
| + | |||
| + | update package | ||
| + | |||
| + | < | ||
| + | nix-update gelly | ||
| + | nix-update stamp --version=branch=main | ||
| </ | </ | ||
| ==== packaging ==== | ==== packaging ==== | ||
| Line 1293: | Line 1278: | ||
| }) | }) | ||
| ]; | ]; | ||
| + | </ | ||
| + | |||
| + | fetchpatch array | ||
| + | |||
| + | < | ||
| + | patches = map fetchpatch [ | ||
| + | /* This patch is currently necessary for the unit test suite to run correctly. | ||
| + | * See https:// | ||
| + | * and https:// | ||
| + | */ | ||
| + | #{ | ||
| + | # name = " | ||
| + | # sha256 = " | ||
| + | # url = " | ||
| + | #} | ||
| + | |||
| + | # This patch fixes test compile issues with glibc 2.33+. | ||
| + | #{ | ||
| + | # name = " | ||
| + | # sha256 = " | ||
| + | # url = " | ||
| + | #} | ||
| </ | </ | ||
| Line 1359: | Line 1366: | ||
| systemd.services." | systemd.services." | ||
| serviceConfig = defaultServiceConfig // { | serviceConfig = defaultServiceConfig // { | ||
| + | </ | ||
| + | |||
| + | python modules hooks | ||
| + | |||
| + | < | ||
| + | nativeCheckInputs = [ | ||
| + | pytestCheckHook | ||
| + | writableTmpDirAsHomeHook | ||
| + | ] | ||
| + | </ | ||
| + | |||
| + | update script git updater | ||
| + | |||
| + | < | ||
| + | passthru.updateScript = gitUpdater { | ||
| + | ignoredVersions = " | ||
| + | }; | ||
| + | </ | ||
| + | |||
| + | debuggig, run commands inside derivation | ||
| + | |||
| + | < | ||
| + | nix develop -f . stamp -c bash -c ' | ||
| + | nix develop -f . stamp -c bash -c ' | ||
| + | nix develop -f . stamp -c bash -c ' | ||
| + | 2.88.1 | ||
| </ | </ | ||
| ===== tools ===== | ===== tools ===== | ||
| Line 1897: | Line 1930: | ||
| ===== postmarketOS ===== | ===== postmarketOS ===== | ||
| + | ====== personal setup ====== | ||
| + | * enable beacondb in geoclue conf | ||
| + | |||
| + | ====== notes ====== | ||
| update checksum | update checksum | ||
| <code bash> | <code bash> | ||
| Line 2031: | Line 2068: | ||
| import dump | import dump | ||
| <code bash> | <code bash> | ||
| - | mysql -u root nextcloud < mydump.sql | + | mariadb |
| </ | </ | ||
| Line 2099: | Line 2136: | ||
| multi-cursor selection mode | multi-cursor selection mode | ||
| + | |||
| < | < | ||
| Normal mode -> V (visual mode) -> Shift+C (multiple times) -> i (insert mode) -> Enter something | Normal mode -> V (visual mode) -> Shift+C (multiple times) -> i (insert mode) -> Enter something | ||
| ESC -> , | ESC -> , | ||
| + | </ | ||
| + | |||
| + | sort | ||
| + | |||
| + | < | ||
| + | - select multiple lines | ||
| + | - press Alt-S | ||
| + | - type ": | ||
| </ | </ | ||
onny/notizen.1782995431.txt.gz · Last modified: by fdc9:281f:4d7:9ee9::1
