filter src

This commit is contained in:
atagen 2026-03-29 15:14:51 +11:00
parent 660dfc1b9c
commit bb8520e7a3

View file

@ -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 "")} }
}
}