mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-24 06:19:02 +00:00
Justfile: add pkg-update job
This commit is contained in:
parent
9e4dc588a2
commit
8c4ab892d9
4
Justfile
4
Justfile
@ -5,6 +5,10 @@ update:
|
|||||||
git checkout -- flake.lock
|
git checkout -- flake.lock
|
||||||
nix flake update --commit-lock-file
|
nix flake update --commit-lock-file
|
||||||
|
|
||||||
|
# Update a package with nix-update.
|
||||||
|
pkg-update PKG:
|
||||||
|
nix-update -f pkgs {{PKG}}
|
||||||
|
|
||||||
# Build a package from `pkgs/` folder.
|
# Build a package from `pkgs/` folder.
|
||||||
pkg-build PKG:
|
pkg-build PKG:
|
||||||
nix-build pkgs -A {{PKG}}
|
nix-build pkgs -A {{PKG}}
|
||||||
|
Loading…
Reference in New Issue
Block a user