apply treefmt

This commit is contained in:
Jörg Thalheim 2023-05-20 09:12:19 +02:00
parent 0bf780a408
commit 975713d4c4
4 changed files with 36 additions and 38 deletions

View File

@ -114,7 +114,7 @@ $ nix-update jq --version-regex 'jq-(.*)'
By default `nix-update` will locate the file that needs to be patched using the `src` attribute of a derivation.
In some cases this heurestic is wrong. One can override the behavior like that:
``` console
```console
$ nix-update hello --override-filename pkgs/applications/misc/hello/default.nix
```
@ -126,7 +126,7 @@ from https://updates.signal.org/, but also publishes release information on its
GitHub page. In such cases, use the `--url` parameter to direct nix-update to
the correct repository:
``` console
```console
nix-update --url https://github.com/signalapp/Signal-Desktop --override-filename pkgs/applications/networking/instant-messengers/signal-desktop/default.nix signal-desktop
```
@ -135,7 +135,7 @@ tested. Additionally, the `--review` flag can be used to
initiate a run of [nixpkgs-review](https://github.com/Mic92/nixpkgs-review), which will ensure all
dependent packages can be built. In order to ensure consistent
formatting, the `--format` flag will invoke
[nixpkgs-fmt](<https://github.com/nix-community/nixpkgs-fmt>).
[nixpkgs-fmt](https://github.com/nix-community/nixpkgs-fmt).
```console
# Also runs nix-build

View File

@ -6,4 +6,3 @@
},
"lockFileMaintenance": { "enabled": true }
}

View File

@ -1,5 +1,4 @@
{ lib
, fetchFromGitHub
{ fetchFromGitHub
, buildNpmPackage
}:

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, gamin }:
{ stdenv, fetchurl, gamin }:
stdenv.mkDerivation rec {
pname = "fileschanged";