Provide an "update-flake" command

Created on 3 April 2025, 8 days ago

Problem/Motivation

If you install a flake into a project, it's easy to update the software specified in the flake (with `nix flake update`). However, as we improve the drupal-flake itself, it's not so easy to update the flake in a given project.

You can delete all the flake files and then re-do `nix flake init -t` to get a fresh copy -- which is entirely safe, but a bit cumbersome. Let's make this easier with a script.

Proposed resolution

Create an "update-flake" command in the devShell that cleans up all the flake files, and then re-installs the flake from Drupal.org template to get the latest stuff.

✨ Feature request
Status

Active

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States freelock Seattle

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024