# \[PATCH 1/2\] vis: Add missing file(1) dependency

**URL:** https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370
**Category:** Inbox
**Created:** [October 14, 2019, 2:43pm UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370 "2019-10-14T14:43:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kl3](https://discourse.nixos.org/user_avatar/discourse.nixos.org/kl3/32/6527_2.png) [@kl3](https://discourse.nixos.org/u/kl3)
#### Post date: [October 14, 2019, 2:43pm UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370/1 "2019-10-14T14:43:31Z")

</div>

Required for syntax hilighting; opening /etx/nixos/configuration.nix  
immediatly prints

&nbsp;&nbsp;sh: file: command not found

Improve description while here.

---

<div class="post-metadata">

### Author: ![zimbatm](https://discourse.nixos.org/user_avatar/discourse.nixos.org/zimbatm/32/4_2.png) [@zimbatm](https://discourse.nixos.org/u/zimbatm)
#### Post date: [October 17, 2019, 8:58am UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370/2 "2019-10-17T08:58:17Z")

</div>

The attachment is missing. It’s probably Discourse doing some sort of filtering. Do you mind sending it again to the patches email address?

---

<div class="post-metadata">

### Author: ![kl3](https://discourse.nixos.org/user_avatar/discourse.nixos.org/kl3/32/6527_2.png) [@kl3](https://discourse.nixos.org/u/kl3)
#### Post date: [October 17, 2019, 10:12am UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370/3 "2019-10-17T10:12:28Z")

</div>

Just sent it again to [nixos1+dev-patches@discoursemail.com](mailto:nixos1+dev-patches@discoursemail.com) via

```
git format-patch -1
git send-email --to=nixos1+dev-patches@discoursemail.com \
    ./0001-vis-Add-missing-file-1-dependency.patch

```

> [@\[PATCH\] vis: Add missing file(1) dependency](https://discourse.nixos.org/t/patch-vis-add-missing-file-1-dependency/4405):
>
> Required for syntax hilighting; opening /etx/nixos/configuration.nix immediatly prints sh: file: command not found Improve description while here.

arrived but is missing the patch again.

---

<div class="post-metadata">

### Author: ![kl3](https://discourse.nixos.org/user_avatar/discourse.nixos.org/kl3/32/6527_2.png) [@kl3](https://discourse.nixos.org/u/kl3)
#### Post date: [December 5, 2019, 3:58pm UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370/4 "2019-12-05T15:58:51Z")

</div>

Assuming submission through discourse has not improved, here’s the [patch as paste](https://termbin.com/2kvy).  
None of the two enlisted maintainers have replied to mail so far.

---

<div class="post-metadata">

### Author: ![sternenseemann](https://discourse.nixos.org/user_avatar/discourse.nixos.org/sternenseemann/32/3809_2.png) [@sternenseemann](https://discourse.nixos.org/u/sternenseemann)
#### Post date: [January 3, 2021, 11:18am UTC](https://discourse.nixos.org/t/patch-1-2-vis-add-missing-file-1-dependency/4370/5 "2021-01-03T11:18:41Z")

</div>

Can’t reproduce with vis 0.7 from master with `nix-shell -p vis -I nixpkgs=$HOME/src/nix/nixpkgs --pure`. Do you still experience the issue?

`file` still doesn’t seem to be included though, the link doesn’t seem to lead to a patch (anymore?) unfortunately.
