mirror of
https://git.gay/xqtc/nixos-config
synced 2024-11-22 15:20:31 +01:00
expand justfile
This commit is contained in:
parent
c38b17ac75
commit
3e88182cf0
12
flake.lock
12
flake.lock
|
@ -380,11 +380,11 @@
|
|||
},
|
||||
"nixpkgs-master": {
|
||||
"locked": {
|
||||
"lastModified": 1719832789,
|
||||
"narHash": "sha256-oilhzD/KrAa8j23PfMYeQXgpZ4nyQniNIB/HpLkvcBQ=",
|
||||
"lastModified": 1719863125,
|
||||
"narHash": "sha256-sidtm9qEgkIHaW6cXRLPRsizVgTkUZEz9qv4ViMz+aA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "0e4209dd43baaa8469cba3c6d366b5481d3f8af5",
|
||||
"rev": "71b8797926a6f12c3fed2a264352c04eff962a43",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -488,11 +488,11 @@
|
|||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1719825521,
|
||||
"narHash": "sha256-UYHUtwQuoEi45NUSagEbdVQffKgEFLo3yBIcukoK07s=",
|
||||
"lastModified": 1719860300,
|
||||
"narHash": "sha256-ZeF+zI+/53HeS567/mXS2Gw+w8k9FsjRC/TzoVQOpi4=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "55a45b6713e77f2ade6271c837645a62444453ad",
|
||||
"rev": "079c2c479b5707adf0b03f817be30945c92c15cf",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
5
justfile
5
justfile
|
@ -28,6 +28,7 @@ beleth:
|
|||
|
||||
update:
|
||||
nix flake update
|
||||
@just test
|
||||
|
||||
test target="":
|
||||
#!/usr/bin/env bash
|
||||
|
@ -37,6 +38,7 @@ test target="":
|
|||
|
||||
if [ "$target" == "" ]; then
|
||||
nix flake check;
|
||||
nix store gc;
|
||||
exit
|
||||
fi
|
||||
|
||||
|
@ -49,3 +51,6 @@ test target="":
|
|||
done
|
||||
|
||||
echo "Target '$target' does not exist in the NixOS configurations."
|
||||
|
||||
gc profile="all":
|
||||
nh clean {{profile}}
|
||||
|
|
Loading…
Reference in a new issue