Adds nix-forecast
This commit is contained in:
parent
ba7e2641f0
commit
a28799966c
8
justfile
8
justfile
@ -10,6 +10,14 @@ default:
|
|||||||
help:
|
help:
|
||||||
@just --list --unsorted --list-heading $'Available commands:\n'
|
@just --list --unsorted --list-heading $'Available commands:\n'
|
||||||
|
|
||||||
|
forecast:
|
||||||
|
nix-forecast -s -c {{ root_dir }}#darwinConfigurations.{{ hostname }} | \
|
||||||
|
tee -p /tmp/nix-forecast.txt | head -4
|
||||||
|
@echo "Packages to be built:"
|
||||||
|
@cat /tmp/nix-forecast.txt | grep "/nix/store/" | \
|
||||||
|
grep -Pv "\-completions$|\.zip$|\.patch$|\.lock$|\.fish$|\.sh$|\.json$|\.conf$|\.keep$|\.md$" | \
|
||||||
|
cut -c 45- | sort | nl
|
||||||
|
|
||||||
_run cmd:
|
_run cmd:
|
||||||
#!/usr/bin/env -S sh -eu
|
#!/usr/bin/env -S sh -eu
|
||||||
if [ "{{ in_nix_shell }}" = "false" ]; then
|
if [ "{{ in_nix_shell }}" = "false" ]; then
|
||||||
|
@ -27,6 +27,7 @@ let
|
|||||||
statix
|
statix
|
||||||
cachix
|
cachix
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
|
nix-forecast
|
||||||
];
|
];
|
||||||
networkingPackages = with pkgs; [
|
networkingPackages = with pkgs; [
|
||||||
curl
|
curl
|
||||||
|
Loading…
Reference in New Issue
Block a user