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
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
sources.sh lib/tests: Set hardening pragmas 2021-11-26 10:55:14 +13:00
systems.nix