update-local-flakes: Make available as package

If extensions have their lock file updated in some cases,
running .#updateLocalFlakes will not work.
This commit is contained in:
Geoffrey Frogeye 2024-06-17 18:21:09 +02:00
parent c4058e8102
commit 0d047d3e46
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
5 changed files with 17 additions and 7 deletions

View file

@ -0,0 +1,2 @@
{ pkgs, ... }:
pkgs.writers.writePython3Bin "update-local-flakes" {} (builtins.readFile ./update-local-flakes.py)

View file

@ -0,0 +1,3 @@
(self: super: {
update-local-flakes = super.callPackage ./. {};
})