diff --git a/flake.nix b/flake.nix index 67dc0f8..b09bd98 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,7 @@ default = pkgs.ocamlPackages.buildDunePackage { pname = "inshellah"; version = "0.1"; - src = ./.; + src = pkgs.lib.cleanSource ./.; nativeBuildInputs = [ pkgs.git ]; buildInputs = with pkgs.ocamlPackages; [ dune_3 @@ -88,7 +88,8 @@ let kw = $spans | last ^systemctl list-units --all --no-pager --plain --full $"($kw)*" | detect columns - | where LOAD != null + | drop 7 + | headers | each { |r| {value: $r.UNIT, description: ($r.DESCRIPTION | default "")} } } }