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