Add daily email

This commit is contained in:
Oliver Davies 2025-06-27 21:53:40 +01:00
parent dc00a8fd66
commit 6de0ba179d
3 changed files with 131 additions and 0 deletions

View file

@ -6549,5 +6549,12 @@
],
"path_alias.af132f0b-d93e-4063-af33-6935fbaa445f": [
"node.ec55d813-d412-4cfd-8ca1-1b3a7ac5ac3d"
],
"node.8c51f0d1-d7d3-4089-91bc-43b1f896f844": [
"user.b8966985-d4b2-42a7-a319-2e94ccfbb849",
"node.9b4c39a3-702f-486c-a79b-4d7b96a4f3f6"
],
"path_alias.265c1927-f29f-4f8b-a80b-e0280123a718": [
"node.8c51f0d1-d7d3-4089-91bc-43b1f896f844"
]
}

View file

@ -0,0 +1,97 @@
{
"uuid": [
{
"value": "8c51f0d1-d7d3-4089-91bc-43b1f896f844"
}
],
"langcode": [
{
"value": "en"
}
],
"type": [
{
"target_id": "daily_email",
"target_type": "node_type",
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
}
],
"revision_timestamp": [
{
"value": "2025-06-27T20:53:21+00:00"
}
],
"revision_uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"revision_log": [],
"status": [
{
"value": true
}
],
"uid": [
{
"target_type": "user",
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
}
],
"title": [
{
"value": "Project-specific dependencies with Nix Flakes"
}
],
"created": [
{
"value": "2025-06-26T20:07:18+00:00"
}
],
"changed": [
{
"value": "2025-06-27T20:53:21+00:00"
}
],
"promote": [
{
"value": false
}
],
"sticky": [
{
"value": false
}
],
"default_langcode": [
{
"value": true
}
],
"revision_translation_affected": [
{
"value": true
}
],
"path": [
{
"alias": "\/daily\/2025\/06\/26\/project-specific-dependencies-nix-flakes",
"langcode": "en"
}
],
"body": [
{
"value": "Earlier this week, I wrote about [using Nix to manage different versions of PHP][1].\r\n\r\nPHP 8.4, 8.3, 8.2 and 8.1 are all available in the current stable version of nixpkgs.\r\n\r\nYou can only have one version installed globally, but you can have specific versions enabled for different projects.\r\n\r\nYou can create a `shell.nix` file or a Nix Flake like [yesterday's example][0] in each project directory and add or override the version of PHP or any other packages as needed.\r\n\r\nEach directory can have its own set of installed packages and configuration, and this works for everything in nixpkgs.\r\n\r\nBecause flakes can have multiple inputs, including multiple versions of nixpkgs, you can mix and match between stable, unstable or pinned versions in the same flake.nix and decide which to use for each project.\r\n\r\nThis provides a lot of flexibility and offers a lot of customisation so you can configure each project exactly how you need.\r\n\r\nFor some examples of flake.nix files I've used, see [my public repositories][2] on my Forgejo instance.\r\n\r\n[0]: \/daily\/2025\/06\/25\/nix-and-older-versions-php\r\n[1]: \/daily\/2025\/06\/24\/php-and-nix-shells\r\n[2]: https:\/\/code.oliverdavies.uk\/opdavies",
"format": "markdown",
"processed": "<p>Earlier this week, I wrote about <a href=\"http:\/\/localhost:8888\/daily\/2025\/06\/24\/php-and-nix-shells\">using Nix to manage different versions of PHP<\/a>.<\/p>\n<p>PHP 8.4, 8.3, 8.2 and 8.1 are all available in the current stable version of nixpkgs.<\/p>\n<p>You can only have one version installed globally, but you can have specific versions enabled for different projects.<\/p>\n<p>You can create a <code>shell.nix<\/code> file or a Nix Flake like <a href=\"http:\/\/localhost:8888\/daily\/2025\/06\/25\/nix-and-older-versions-php\">yesterday's example<\/a> in each project directory and add or override the version of PHP or any other packages as needed.<\/p>\n<p>Each directory can have its own set of installed packages and configuration, and this works for everything in nixpkgs.<\/p>\n<p>Because flakes can have multiple inputs, including multiple versions of nixpkgs, you can mix and match between stable, unstable or pinned versions in the same flake.nix and decide which to use for each project.<\/p>\n<p>This provides a lot of flexibility and offers a lot of customisation so you can configure each project exactly how you need.<\/p>\n<p>For some examples of flake.nix files I've used, see <a href=\"https:\/\/code.oliverdavies.uk\/opdavies\">my public repositories<\/a> on my Forgejo instance.<\/p>\n",
"summary": ""
}
],
"field_daily_email_cta": [
{
"target_type": "node",
"target_uuid": "9b4c39a3-702f-486c-a79b-4d7b96a4f3f6"
}
]
}

View file

@ -0,0 +1,27 @@
{
"uuid": [
{
"value": "265c1927-f29f-4f8b-a80b-e0280123a718"
}
],
"langcode": [
{
"value": "en"
}
],
"path": [
{
"value": "\/node\/8c51f0d1-d7d3-4089-91bc-43b1f896f844"
}
],
"alias": [
{
"value": "\/daily\/2025\/06\/26\/project-specific-dependencies-nix-flakes"
}
],
"status": [
{
"value": true
}
]
}