nixpkgs-suyu/lib/tests
zimbatm 22991521eb
lib: fix flake check
`builtins.currentSystem` is not available in pure eval. For this
particular test, we don't really care since it's all about generating
.drv files.

Fixes the following error:

    $ nix flake check
    warning: unknown flake output 'lib'
    error: attribute 'currentSystem' missing

           at /nix/store/8wvnlbjxlr90kq2qa6d9zjpj8rqkilr5-source/lib/tests/misc.nix:499:73:

              498|     let
              499|       deriv = derivation { name = "test"; builder = "/bin/sh"; system = builtins.currentSystem; };
                 |                                                                         ^
              500|     in {
    (use '--show-trace' to show detailed location informat
2021-12-13 12:03:40 +01:00
..
modules Merge pull request #144022 from hercules-ci/lib-modules-optimize-unmatchedDefns 2021-12-07 19:38:43 +01:00
check-eval.nix
maintainers.nix lib/tests/maintainers: add matrix option 2021-10-01 21:27:00 +02:00
misc.nix lib: fix flake check 2021-12-13 12:03:40 +01:00
modules.sh lib/tests: Use standard test syntax 2021-11-26 11:03:40 +13:00
release.nix lib/tests/sources: update to Nix 2.4 cli syntax 2021-11-09 10:47:20 -08:00
sources.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
systems.nix