filter src
This commit is contained in:
parent
1783cf7259
commit
1e7b7d1614
1 changed files with 3 additions and 2 deletions
|
|
@ -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 "")} }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue