From 6de0ba179dc5720ff5342174e1dbdfc5cce7e435 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Fri, 27 Jun 2025 21:53:40 +0100 Subject: [PATCH] Add daily email --- content/meta/index.json | 7 ++ ....8c51f0d1-d7d3-4089-91bc-43b1f896f844.json | 97 +++++++++++++++++++ ....265c1927-f29f-4f8b-a80b-e0280123a718.json | 27 ++++++ 3 files changed, 131 insertions(+) create mode 100644 content/node.8c51f0d1-d7d3-4089-91bc-43b1f896f844.json create mode 100644 content/path_alias.265c1927-f29f-4f8b-a80b-e0280123a718.json diff --git a/content/meta/index.json b/content/meta/index.json index 7a9416437..95a41df5f 100644 --- a/content/meta/index.json +++ b/content/meta/index.json @@ -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" ] } \ No newline at end of file diff --git a/content/node.8c51f0d1-d7d3-4089-91bc-43b1f896f844.json b/content/node.8c51f0d1-d7d3-4089-91bc-43b1f896f844.json new file mode 100644 index 000000000..f5063572f --- /dev/null +++ b/content/node.8c51f0d1-d7d3-4089-91bc-43b1f896f844.json @@ -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": "

Earlier this week, I wrote about using Nix to manage different versions of PHP<\/a>.<\/p>\n

PHP 8.4, 8.3, 8.2 and 8.1 are all available in the current stable version of nixpkgs.<\/p>\n

You can only have one version installed globally, but you can have specific versions enabled for different projects.<\/p>\n

You can create a shell.nix<\/code> file or a Nix Flake like yesterday's example<\/a> in each project directory and add or override the version of PHP or any other packages as needed.<\/p>\n

Each directory can have its own set of installed packages and configuration, and this works for everything in nixpkgs.<\/p>\n

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

This provides a lot of flexibility and offers a lot of customisation so you can configure each project exactly how you need.<\/p>\n

For some examples of flake.nix files I've used, see 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" + } + ] +} \ No newline at end of file diff --git a/content/path_alias.265c1927-f29f-4f8b-a80b-e0280123a718.json b/content/path_alias.265c1927-f29f-4f8b-a80b-e0280123a718.json new file mode 100644 index 000000000..d906e248a --- /dev/null +++ b/content/path_alias.265c1927-f29f-4f8b-a80b-e0280123a718.json @@ -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 + } + ] +} \ No newline at end of file