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:
parent
c4058e8102
commit
0d047d3e46
5 changed files with 17 additions and 7 deletions
2
common/update-local-flakes/default.nix
Normal file
2
common/update-local-flakes/default.nix
Normal file
|
@ -0,0 +1,2 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writers.writePython3Bin "update-local-flakes" {} (builtins.readFile ./update-local-flakes.py)
|
3
common/update-local-flakes/overlay.nix
Normal file
3
common/update-local-flakes/overlay.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
(self: super: {
|
||||
update-local-flakes = super.callPackage ./. {};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue