1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00
nix/tests/functional/flakes
Seth Flynn ecdda5798c nix flake check: Skip substitutable derivations
Since `nix flake check` doesn't produce a `result` symlink, it doesn't
actually need to build/substitute derivations that are already known
to have succeeded, i.e. that are substitutable.

This can speed up CI jobs in cases where the derivations have already
been built by other jobs. For instance, a command like

  nix flake check github:NixOS/hydra/aa62c7f7db31753f0cde690f8654dd1907fc0ce2

should no longer build anything because the outputs are already in
cache.nixos.org.

Based-on: https://github.com/DeterminateSystems/nix-src/pull/134
Based-on: https://gerrit.lix.systems/c/lix/+/3841
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2025-09-15 21:31:03 +02:00
..
absolute-attr-paths.sh housekeeping: shellcheck for tests/functional/flakes/absolute-attr-paths.sh 2024-06-12 17:41:16 -04:00
absolute-paths.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
build-paths.sh No longer copy functional tests to the build dir 2024-11-03 16:42:38 -05:00
bundle.sh Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
check.sh nix flake check: Skip substitutable derivations 2025-09-15 21:31:03 +02:00
circular.sh housekeeping: shellcheck for tests/functional/flakes/circular.sh 2024-06-12 17:41:16 -04:00
commit-lock-file-summary.sh Add a utility function for creating/registering a simple flake 2024-11-20 18:51:23 +01:00
common.sh skip ifds in nix flake show instead of throwing 2025-03-27 11:16:35 +01:00
config.sh Revert "Merge pull request #11826 from DeterminateSystems/revert-11804" 2024-11-11 15:21:34 +01:00
debugger.sh tests/functional: Add flake-based regression for debugger use-after-free 2025-02-21 14:36:39 +00:00
develop.sh tests/functional/flakes/develop.sh: Don't hang 2024-11-18 16:28:12 +01:00
dubious-query.sh Add a utility function for creating/registering a simple flake 2024-11-20 18:51:23 +01:00
edit.sh Add a utility function for creating/registering a simple flake 2024-11-20 18:51:23 +01:00
eval-cache.sh stack overflow is EvalBaseError 2025-03-20 17:43:20 +00:00
flake-in-submodule.sh Add a test for a flake referencing a flake that has inputs.self 2025-02-04 22:14:38 +01:00
flakes.sh Test that using --inputs-from with a flakeref that has a dir works 2025-09-08 09:00:59 +02:00
follow-paths.sh Don't allow flake inputs to have both a flakeref and a follows 2025-06-26 12:56:54 +02:00
init.sh More quote coalescing 2024-06-12 17:47:54 -04:00
inputs.sh housekeeping: shellcheck for tests/functional/flakes/inputs.sh 2024-06-12 17:41:16 -04:00
mercurial.sh More quote coalescing 2024-06-12 17:47:54 -04:00
meson.build meson: Apply formatting universally 2025-08-07 02:58:29 +03:00
non-flake-inputs.sh tests/functional/flakes/non-flake-inputs: Test non-flake inputs having sourceInfo 2025-05-18 00:40:09 +01:00
old-lockfiles.sh Backward compatibility hack for dealing with dir in URL-style flakerefs 2025-05-09 10:10:42 +02:00
prefetch.sh Ensure all functional scripts are (a) executable (b) have shebang 2024-05-28 12:46:24 -04:00
relative-paths-lockfile.sh tests/functional/flakes: Add test case for subflake locking 2025-03-20 13:28:05 +08:00
relative-paths.sh tests: fixup with jq-1.8.0 2025-06-18 10:11:50 +02:00
run.sh ci: Collect code coverage in tests 2025-08-04 23:50:02 +03:00
search-root.sh tests/functional: Enable more tests in NixOS VM 2024-06-20 14:54:11 +02:00
shebang.sh shellcheck 2024-11-20 23:03:31 +01:00
show.sh skip ifds in nix flake show instead of throwing 2025-03-27 11:16:35 +01:00
source-paths.sh Apply makeNotAllowedError to empty repos 2025-04-02 19:57:49 +02:00
symlink-paths.sh Update tests/functional/flakes/symlink-paths.sh 2025-02-04 11:25:14 -05:00
trace-ifd.sh Add test for output warning to ensure stability 2025-05-27 09:18:51 -04:00
tree.zip Handle zip files containing symlinks 2024-05-09 19:33:09 +02:00
unlocked-override.sh Rework future tense in user-facing messages 2025-06-12 09:07:36 -07:00