mirror of
https://github.com/Mic92/nix-update.git
synced 2024-08-16 14:10:44 +03:00
apply treefmt
This commit is contained in:
parent
0bf780a408
commit
975713d4c4
@ -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.
|
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:
|
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
|
$ 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
|
GitHub page. In such cases, use the `--url` parameter to direct nix-update to
|
||||||
the correct repository:
|
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
|
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
|
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
|
dependent packages can be built. In order to ensure consistent
|
||||||
formatting, the `--format` flag will invoke
|
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
|
```console
|
||||||
# Also runs nix-build
|
# Also runs nix-build
|
||||||
|
@ -6,4 +6,3 @@
|
|||||||
},
|
},
|
||||||
"lockFileMaintenance": { "enabled": true }
|
"lockFileMaintenance": { "enabled": true }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{ lib
|
{ fetchFromGitHub
|
||||||
, fetchFromGitHub
|
|
||||||
, buildNpmPackage
|
, buildNpmPackage
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, gamin }:
|
{ stdenv, fetchurl, gamin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "fileschanged";
|
pname = "fileschanged";
|
||||||
|
Loading…
Reference in New Issue
Block a user