lix/tests/functional/flakes
Isabel d2422771eb
nix flake show: add the description if it exists
(cherry picked from commit 8cd1d02f90eb9915e640c5d370d919fad9833c65)

nix flake show: Only print up to the first new line if it exists.

(cherry picked from commit 5281a44927bdb51bfe6e5de12262d815c98f6fe7)

add tests

(cherry picked from commit 74ae0fbdc70a5079a527fe143c4832d1357011f7)

Handle long strings, embedded new lines and empty descriptions

(cherry picked from commit 2ca7b3afdbbd983173a17fa0a822cf7623601367)

Account for total length of 80

(cherry picked from commit 1cc808c18cbaaf26aaae42bb1d7f7223f25dd364)

docs: add nix flake show description release note

fix: remove white space

nix flake show: trim length based on terminal size

test: account for terminal size

docs(flake-description): before and after commands; add myself to credits

Upstream-PR: https://github.com/NixOS/nix/pull/10980
Change-Id: Ie1c667dc816b3dd81e65a1f5395e57ea48ee0362
2024-07-23 13:21:15 +01:00
..
absolute-paths.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
build-paths.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
bundle.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
check.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
circular.sh Add pre-commit checks 2024-03-29 22:57:40 -07:00
common.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
config.sh libexpr/flake: allow automatic rejection of configuration options from flakes 2024-06-30 19:28:14 +02:00
develop-r8854.sh Merge pull request #9324 from 9999years/fix-8854-take-2 2024-03-07 14:50:43 +01:00
develop.sh Merge pull request #8043 from bobvanderlinden/pr-shell-env 2024-03-04 07:59:32 +01:00
flake-in-submodule.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
flake-registry.sh tests/flake-registry: Fix occasional deadlocks 2024-06-12 15:34:23 -07:00
flakes.sh Reject fully-qualified URLs in 'from' argument of nix registry add 2024-06-29 05:11:31 +00:00
follow-paths.sh tests/flakes/follow-paths: test that warning about non-existent input works recursively 2024-05-03 22:54:38 +00:00
init.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
inputs.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
mercurial.sh tests: actually run mercurial tests 2024-05-04 16:48:07 +02:00
run.sh Add pre-commit checks 2024-03-29 22:57:40 -07:00
search-root.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00
show.sh nix flake show: add the description if it exists 2024-07-23 13:21:15 +01:00
unlocked-override.sh Put functional tests in tests/functional 2023-12-01 12:06:43 -05:00