64 lines
2.8 KiB
YAML
64 lines
2.8 KiB
YAML
uuid:
|
|
- value: f0fe2425-0fca-41a3-8ca8-67953798b7a5
|
|
langcode:
|
|
- value: en
|
|
type:
|
|
- target_id: daily_email
|
|
target_type: node_type
|
|
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
|
|
revision_timestamp:
|
|
- value: '2025-05-11T09:00:04+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: 'Using Nix for local application development'
|
|
created:
|
|
- value: '2024-11-30T00:00:00+00:00'
|
|
changed:
|
|
- value: '2025-05-11T09:00:04+00:00'
|
|
promote:
|
|
- value: false
|
|
sticky:
|
|
- value: false
|
|
default_langcode:
|
|
- value: true
|
|
revision_translation_affected:
|
|
- value: true
|
|
path:
|
|
- alias: /daily/2024/11/30/using-nix-for-local-application-development
|
|
langcode: en
|
|
body:
|
|
- value: |
|
|
<p>Instead of using tools like Docker or nvm to manage dependencies for your projects, you can use Nix instead.</p>
|
|
|
|
<p>Creating a Nix shell or flake for each project with its dependencies will install everything without needing containers and with the benefit of everything being locked to specific versions, <a href="/daily/2024/11/12/why-consistency-and-reproducibility-are-important">making environments reproducible</a>.</p>
|
|
|
|
<p>If you need a specific version of PHP or node for a project, it will be available and different versions can be used for other projects.</p>
|
|
|
|
<p>And if you need services like MySQL and you're not using NixOS, you can also use devenv to manage services, tasks and processes for each project.</p>
|
|
|
|
<p>For me, Nix and devenv have <a href="/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">replaced Docker and Docker Compose</a> on my development projects.</p>
|
|
|
|
|
|
format: full_html
|
|
processed: |
|
|
<p>Instead of using tools like Docker or nvm to manage dependencies for your projects, you can use Nix instead.</p>
|
|
|
|
<p>Creating a Nix shell or flake for each project with its dependencies will install everything without needing containers and with the benefit of everything being locked to specific versions, <a href="http://default/daily/2024/11/12/why-consistency-and-reproducibility-are-important">making environments reproducible</a>.</p>
|
|
|
|
<p>If you need a specific version of PHP or node for a project, it will be available and different versions can be used for other projects.</p>
|
|
|
|
<p>And if you need services like MySQL and you're not using NixOS, you can also use devenv to manage services, tasks and processes for each project.</p>
|
|
|
|
<p>For me, Nix and devenv have <a href="http://default/daily/2024/11/11/could-nix-and-devenv-replace-docker-compose">replaced Docker and Docker Compose</a> on my development projects.</p>
|
|
|
|
|
|
summary: null
|
|
field_daily_email_cta: { }
|