3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/lib
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
..
systems Merge pull request #149924 from Mic92/aarch64be-embedded 2021-12-09 22:11:37 +00:00
tests lib: fix flake check 2021-12-13 12:03:40 +01:00
asserts.nix
attrsets.nix lib: make extendDerivation lighter on eval 2021-10-15 16:39:10 +02:00
cli.nix
customisation.nix lib: make extendDerivation lighter on eval 2021-10-15 16:39:10 +02:00
debug.nix
default.nix lib/meta: add getLicenseFromSpdxId function 2021-12-02 18:33:48 +08:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
flake.nix
generators.nix
kernel.nix
licenses.nix licenses: add CAPEC 2021-10-15 23:10:34 +02:00
lists.nix lib/lists: mutuallyExclusive function optimization 2021-11-01 16:29:01 -04:00
meta.nix lib/meta: add getLicenseFromSpdxId function 2021-12-02 18:33:48 +08:00
minver.nix
modules.nix Merge pull request #144022 from hercules-ci/lib-modules-optimize-unmatchedDefns 2021-12-07 19:38:43 +01:00
options.nix modules: Add visible = "shallow" to hide only sub-options 2021-11-01 09:34:07 +01:00
sources.nix
strings-with-deps.nix
strings.nix lib: fix escapeXML example in documentation 2021-11-02 22:43:25 +01:00
trivial.nix add release notes for 22.05 and update codename 2021-11-22 15:10:53 -07:00
types.nix lib.evalModules: Add extendModules and type to result 2021-11-01 09:34:07 +01:00
versions.nix
zip-int-bits.nix