From 3e88182cf0429bd5dea3e19c8c8a7484b83a5fc8 Mon Sep 17 00:00:00 2001 From: xqtc161 Date: Mon, 1 Jul 2024 22:10:21 +0200 Subject: [PATCH] expand justfile --- flake.lock | 12 ++++++------ justfile | 5 +++++ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 904079e..b4e9dc5 100644 --- a/flake.lock +++ b/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": { diff --git a/justfile b/justfile index 7b9982a..592b995 100644 --- a/justfile +++ b/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}}