diff options
author | Rebecca Turner <rbt@sent.as> | 2024-03-27 10:16:16 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-03-29 22:57:40 -0700 |
commit | 2a98ba8b97c9ff52519633c32cf63716827d6e7c (patch) | |
tree | 7b64c40ad064183cc7bc7afc662890ea567f2136 /doc/manual/src/command-ref/nix-env | |
parent | a4f5bb951dbc6fa4ffa2bb56376b38f38b6e9154 (diff) |
Add `pre-commit` checks
The big ones here are `trim-trailing-whitespace` and `end-of-file-fixer`
(which makes sure that every file ends with exactly one newline
character).
Change-Id: Idca73b640883188f068f9903e013cf0d82aa1123
Diffstat (limited to 'doc/manual/src/command-ref/nix-env')
-rw-r--r-- | doc/manual/src/command-ref/nix-env/install.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/list-generations.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/query.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/set-flag.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/set.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/switch-generation.md | 1 | ||||
-rw-r--r-- | doc/manual/src/command-ref/nix-env/upgrade.md | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/doc/manual/src/command-ref/nix-env/install.md b/doc/manual/src/command-ref/nix-env/install.md index 5dc04c385..5c532b856 100644 --- a/doc/manual/src/command-ref/nix-env/install.md +++ b/doc/manual/src/command-ref/nix-env/install.md @@ -184,4 +184,3 @@ channel: ```console $ nix-env --file https://github.com/NixOS/nixpkgs/archive/nixos-14.12.tar.gz --install --attr firefox ``` - diff --git a/doc/manual/src/command-ref/nix-env/list-generations.md b/doc/manual/src/command-ref/nix-env/list-generations.md index a4881ece8..ab04122cf 100644 --- a/doc/manual/src/command-ref/nix-env/list-generations.md +++ b/doc/manual/src/command-ref/nix-env/list-generations.md @@ -30,4 +30,3 @@ $ nix-env --list-generations 97 2004-02-06 16:22:45 98 2004-02-06 16:24:33 (current) ``` - diff --git a/doc/manual/src/command-ref/nix-env/query.md b/doc/manual/src/command-ref/nix-env/query.md index c9b4d8513..3fbb30839 100644 --- a/doc/manual/src/command-ref/nix-env/query.md +++ b/doc/manual/src/command-ref/nix-env/query.md @@ -212,4 +212,3 @@ To show all packages in the latest revision of the Nixpkgs repository: ```console $ nix-env --file https://github.com/NixOS/nixpkgs/archive/master.tar.gz --query --available ``` - diff --git a/doc/manual/src/command-ref/nix-env/set-flag.md b/doc/manual/src/command-ref/nix-env/set-flag.md index e04b22a91..68a88d288 100644 --- a/doc/manual/src/command-ref/nix-env/set-flag.md +++ b/doc/manual/src/command-ref/nix-env/set-flag.md @@ -79,4 +79,3 @@ To make files from `binutils` take precedence over files from `gcc`: $ nix-env --set-flag priority 5 binutils $ nix-env --set-flag priority 10 gcc ``` - diff --git a/doc/manual/src/command-ref/nix-env/set.md b/doc/manual/src/command-ref/nix-env/set.md index b9950eeab..dc2765217 100644 --- a/doc/manual/src/command-ref/nix-env/set.md +++ b/doc/manual/src/command-ref/nix-env/set.md @@ -27,4 +27,3 @@ contain just Firefox: ```console $ nix-env --profile /nix/var/nix/profiles/browser --set firefox ``` - diff --git a/doc/manual/src/command-ref/nix-env/switch-generation.md b/doc/manual/src/command-ref/nix-env/switch-generation.md index 38cf0534d..d211c5f85 100644 --- a/doc/manual/src/command-ref/nix-env/switch-generation.md +++ b/doc/manual/src/command-ref/nix-env/switch-generation.md @@ -30,4 +30,3 @@ Switching will fail if the specified generation does not exist. $ nix-env --switch-generation 42 switching from generation 50 to 42 ``` - diff --git a/doc/manual/src/command-ref/nix-env/upgrade.md b/doc/manual/src/command-ref/nix-env/upgrade.md index 322dfbda2..11e0eddbe 100644 --- a/doc/manual/src/command-ref/nix-env/upgrade.md +++ b/doc/manual/src/command-ref/nix-env/upgrade.md @@ -138,4 +138,3 @@ This is illustrated by the following examples: 2.3a < 2.3c 2.3pre1 < 2.3c 2.3pre1 < 2.3q - |