Skip to content

Commit

Permalink
feat(pkgs): nix-update-input
Browse files Browse the repository at this point in the history
stolen from @meowgorithm

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jul 26, 2023
1 parent 6a21c79 commit e1cb056
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/bins/bin/nix-update-input
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
# stolen from https://github.com/meowgorithm/dotfiles/blob/77f8832c37248ce74f143d155110887a21f684ac/modules/home/bash/bashrc#L144
nix flake info --json |
jq -r '.locks.nodes.root.inputs | keys | .[]' |
gum filter |
xargs nix flake lock --update-input

0 comments on commit e1cb056

Please sign in to comment.