~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion] andreijiroh.dev
zensical mkdocs-material website

chore: update deps on devenv and its flake lockfile

as well as some paperwork on tangled CI workflows, tool-versions for
asdf and friends and even nuking build.sh symlink on the root directory

andreijiroh.dev 741e0a94 6d42c795

verified
+7 -4
.tangled/workflows/site-deploy.yml
···
# to Cloudflare Pages/Workers Static Sites. Secret management is handled via
# Doppler (setting the DOPPLER_TOKEN secret on repo settings -> spindle is required).
when:
-
- event: ["push", "manual"]
-
branch: ["main"]
+
- event: ["push", "manual"]
+
branch: ["main"]
engine: nixery
···
- pngquant
# needed to generate LD_LIBRARY_PATH for cairo and friends
- findutils
+
- coreutils
environment:
CI: "true" # https://tangled.org/tangled.org/core/issues/310 (resolved via merging https://tangled.org/tangled.org/core/pulls/843)
···
CI_PIPELINE_SOURCE: "push"
# technically we have --ingore-pipfile in the install command below, but just to be safe
PIPENV_IGNORE_PIPFILE: "true"
-
#
steps:
+
- name: env debugger
+
command: |
+
env | grep -i 'CI\|PIP\|NODE\|CAIRO\|PANGO\|GDK\|LIBRSVG\|FONTCONFIG\|FREETYPE\|ZLIB\|LD_LIBRARY_PATH\|NIX'
- name: Install deps
command: |
pipenv install --deploy --ignore-pipfile
···
- name: Deploy to Cloudflare Workers (as Static Site)
command: |
export LD_LIBRARY_PATH=$(find /nix/store -maxdepth 3 -type d -name lib | grep -E 'cairo|pango|gdk-pixbuf|librsvg|fontconfig|freetype|zlib' | tr '\n' ':')
-
doppler run -- npm run deploy:cf
+
doppler run -- npm run deploy:cf
+2 -2
.tool-versions
···
-
python 3.12.3
-
nodejs 22.8.0
+
python 3.14.0
+
nodejs 22.21.1
-1
build.sh
···
-
bin/build.sh
+52 -17
devenv.lock
···
"devenv": {
"locked": {
"dir": "src/modules",
-
"lastModified": 1759936850,
+
"lastModified": 1764927628,
"owner": "cachix",
"repo": "devenv",
-
"rev": "ab228ad83419185654869e2e7ef3de84935be669",
+
"rev": "247d7027f91368054fb0eefbd755a73d42b66fee",
"type": "github"
},
"original": {
···
"flake-compat": {
"flake": false,
"locked": {
-
"lastModified": 1747046372,
+
"lastModified": 1765121682,
"owner": "edolstra",
"repo": "flake-compat",
-
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
+
"rev": "65f23138d8d09a92e30f1e5c87611b23ef451bf3",
"type": "github"
},
"original": {
···
"flake-compat_2": {
"flake": false,
"locked": {
-
"lastModified": 1747046372,
+
"lastModified": 1765121682,
"owner": "edolstra",
"repo": "flake-compat",
-
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
+
"rev": "65f23138d8d09a92e30f1e5c87611b23ef451bf3",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1759523803,
+
"lastModified": 1765016596,
"owner": "cachix",
"repo": "git-hooks.nix",
-
"rev": "cfc9f7bb163ad8542029d303e599c0f7eee09835",
+
"rev": "548fc44fca28a5e81c5d6b846e555e6b9c2a5a3c",
"type": "github"
},
"original": {
···
]
},
"locked": {
-
"lastModified": 1709087332,
+
"lastModified": 1762808025,
"owner": "hercules-ci",
"repo": "gitignore.nix",
-
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
+
"rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
"type": "github"
},
"original": {
···
"type": "github"
}
},
+
"mk-shell-bin": {
+
"locked": {
+
"lastModified": 1677004959,
+
"owner": "rrbutani",
+
"repo": "nix-mk-shell-bin",
+
"rev": "ff5d8bd4d68a347be5042e2f16caee391cd75887",
+
"type": "github"
+
},
+
"original": {
+
"owner": "rrbutani",
+
"repo": "nix-mk-shell-bin",
+
"type": "github"
+
}
+
},
+
"nix2container": {
+
"inputs": {
+
"nixpkgs": [
+
"nixpkgs"
+
]
+
},
+
"locked": {
+
"lastModified": 1761716996,
+
"owner": "nlewo",
+
"repo": "nix2container",
+
"rev": "e5496ab66e9de9e3f67dc06f692dfbc471b6316e",
+
"type": "github"
+
},
+
"original": {
+
"owner": "nlewo",
+
"repo": "nix2container",
+
"type": "github"
+
}
+
},
"nixpkgs": {
"locked": {
-
"lastModified": 1759632233,
-
"narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=",
-
"rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10",
-
"revCount": 871443,
+
"lastModified": 1764611609,
+
"narHash": "sha256-yU9BNcP0oadUKupw0UKmO9BKDOVIg9NStdJosEbXf8U=",
+
"rev": "8c29968b3a942f2903f90797f9623737c215737c",
+
"revCount": 905078,
"type": "tarball",
-
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.871443%2Brev-d7f52a7a640bc54c7bb414cca603835bf8dd4b10/0199bd2b-6c92-7223-94cf-69e43f5561ee/source.tar.gz"
+
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.905078%2Brev-8c29968b3a942f2903f90797f9623737c215737c/019add91-3add-7a0d-8a25-9569cbe01efe/source.tar.gz"
},
"original": {
"type": "tarball",
···
]
},
"locked": {
-
"lastModified": 1759888105,
+
"lastModified": 1765052656,
"owner": "cachix",
"repo": "nixpkgs-python",
-
"rev": "4c568014f7408f7546461b25bb8a3511eab02bec",
+
"rev": "04b27dbad2e004cb237db202f21154eea3c4f89f",
"type": "github"
},
"original": {
···
"inputs": {
"devenv": "devenv",
"git-hooks": "git-hooks",
+
"mk-shell-bin": "mk-shell-bin",
+
"nix2container": "nix2container",
"nixpkgs": "nixpkgs",
"nixpkgs-python": "nixpkgs-python",
"pre-commit-hooks": [
+7 -5
devenv.nix
···
{ pkgs, lib, ... }: {
+
name = "site";
+
packages = with pkgs; [
gitFull
pipenv
···
};
python = {
enable = true;
-
version = "3.13.3";
+
version = "3.14.0";
};
};
-
enterShell = ''
-
pipenv install
-
npm install
-
'';
+
#enterShell = ''
+
# pipenv install
+
# npm install
+
#'';
tasks = {
"site:build".exec = "pipenv run build";
+9 -4
devenv.yaml
···
inputs:
+
mk-shell-bin:
+
url: github:rrbutani/nix-mk-shell-bin
+
nix2container:
+
url: github:nlewo/nix2container
+
inputs:
+
nixpkgs:
+
follows: nixpkgs
+
nixpkgs:
+
url: https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/*.tar.gz
nixpkgs-python:
url: github:cachix/nixpkgs-python
inputs:
nixpkgs:
follows: nixpkgs
-
nixpkgs:
-
url: https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/*.tar.gz
-
-
# If you're using non-OSS software, you can set allowUnfree to true.
allowUnfree: true