Nixery

Welcome to this instance of Nixery, an ad-hoc container image registry that provides packages from the Nix package manager.

You can pull container images from this registry at nixery.tangled.sh by appending any packages that you need in the URL, separated by slashes.

Demo

Usage

These usage examples assume that you use Docker, but should not be much different for other OCI-compatible platforms.

Pull an image from this registry, separating each package you want included by a slash:

docker pull nixery.tangled.sh/shell/git/htop

This gives you an image with git, htop and an interactively configured shell. You could run it like this:

docker run -ti nixery.tangled.sh/shell/git/htop bash

Each path segment corresponds either to a key in the Nix package set, or a meta-package that automatically expands to several other packages.

Meta-packages must be the first path component if they are used. Currently there are only two meta-packages:

Recent build errors

Below are the Nix build errors for some packages that failed to build recently. If Nixery served you an error, you might be able to find more details about it here.

bash/coreutils/git/hashlink/haxe/nix
error:
       … from call site
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:13:1:
           12|
           13| {
             | ^
           14|   # Description of the package set to be used (will be loaded by load-pkgs.nix)

       … while calling anonymous lambda
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:13:1:
           12|
           13| {
             | ^
           14|   # Description of the package set to be used (will be loaded by load-pkgs.nix)

       … from call site
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:195:1:
          194| in
          195| writeText "build-output.json" (if (length allContents.errors) == 0
             | ^
          196| then toJSON buildOutput

       … while calling 'writeText'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/build-support/trivial-builders/default.nix:170:11:
          169|   writeText =
          170|     name: text:
             |           ^
          171|     # TODO: To fully deprecate, replace the assertion with `lib.isString` and remove the warning

       … in the condition of the assert statement
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/build-support/trivial-builders/default.nix:172:5:
          171|     # TODO: To fully deprecate, replace the assertion with `lib.isString` and remove the warning
          172|     assert lib.assertMsg (lib.strings.isConvertibleWithToString text)
             |     ^
          173|       "pkgs.writeText ${lib.strings.escapeNixString name}: The second argument should be a string, but it's a ${builtins.typeOf text} instead.";

       … from call site
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/build-support/trivial-builders/default.nix:172:12:
          171|     # TODO: To fully deprecate, replace the assertion with `lib.isString` and remove the warning
          172|     assert lib.assertMsg (lib.strings.isConvertibleWithToString text)
             |            ^
          173|       "pkgs.writeText ${lib.strings.escapeNixString name}: The second argument should be a string, but it's a ${builtins.typeOf text} instead.";

       … while calling 'assertMsg'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/asserts.nix:50:21:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                     ^
           51|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/asserts.nix:50:31:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                               ^
           51|

       … from call site
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/build-support/trivial-builders/default.nix:172:27:
          171|     # TODO: To fully deprecate, replace the assertion with `lib.isString` and remove the warning
          172|     assert lib.assertMsg (lib.strings.isConvertibleWithToString text)
             |                           ^
          173|       "pkgs.writeText ${lib.strings.escapeNixString name}: The second argument should be a string, but it's a ${builtins.typeOf text} instead.";

       … while calling anonymous lambda
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2604:5:
         2603|     in
         2604|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |     ^
         2605|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2604:48:
         2603|     in
         2604|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |                                                ^
         2605|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2604:23:
         2603|     in
         2604|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |                       ^
         2605|

       … from call site
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2604:8:
         2603|     in
         2604|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |        ^
         2605|

       … while calling 'isStringLike'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2624:18:
         2623|   */
         2624|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                  ^
         2625|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2624:59:
         2623|   */
         2624|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                                                           ^
         2625|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2624:44:
         2623|   */
         2624|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                                            ^
         2625|

       … in the left operand of the OR (||) operator
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2624:32:
         2623|   */
         2624|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                                ^
         2625|

       … while calling the 'isString' builtin
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/strings.nix:2624:21:
         2623|   */
         2624|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                     ^
         2625|

       … while calling the 'toJSON' builtin
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:196:6:
          195| writeText "build-output.json" (if (length allContents.errors) == 0
          196| then toJSON buildOutput
             |      ^
          197| else toJSON errorOutput

       … while evaluating attribute 'runtimeGraph'
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:184:5:
          183|   buildOutput = {
          184|     runtimeGraph = fromJSON (builtins.unsafeDiscardStringContext (readFile runtimeGraph));
             |     ^
          185|     symlinkLayer = symlinkLayerMeta;

       … while calling the 'fromJSON' builtin
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:184:20:
          183|   buildOutput = {
          184|     runtimeGraph = fromJSON (builtins.unsafeDiscardStringContext (readFile runtimeGraph));
             |                    ^
          185|     symlinkLayer = symlinkLayerMeta;

       … while evaluating the first argument passed to builtins.fromJSON

       … while calling the 'unsafeDiscardStringContext' builtin
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:184:30:
          183|   buildOutput = {
          184|     runtimeGraph = fromJSON (builtins.unsafeDiscardStringContext (readFile runtimeGraph));
             |                              ^
          185|     symlinkLayer = symlinkLayerMeta;

       … while calling the 'readFile' builtin
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:184:67:
          183|   buildOutput = {
          184|     runtimeGraph = fromJSON (builtins.unsafeDiscardStringContext (readFile runtimeGraph));
             |                                                                   ^
          185|     symlinkLayer = symlinkLayerMeta;

       … while calling the 'getAttr' builtin
         at :50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at :37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'runtime-graph.json'
         whose name attribute is located at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/make-derivation.nix:541:13

       … while evaluating attribute 'exportReferencesGraph' of derivation 'runtime-graph.json'
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:131:7:
          130|       __structuredAttrs = true;
          131|       exportReferencesGraph.graph = allContents.contents;
             |       ^
          132|       PATH = "${coreutils}/bin";

       … while evaluating attribute 'graph'
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:131:7:
          130|       __structuredAttrs = true;
          131|       exportReferencesGraph.graph = allContents.contents;
             |       ^
          132|       PATH = "${coreutils}/bin";

       … while evaluating list element at index 4
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:131:7:
          130|       __structuredAttrs = true;
          131|       exportReferencesGraph.graph = allContents.contents;
             |       ^
          132|       PATH = "${coreutils}/bin";

       … while calling the 'getAttr' builtin
         at :50:17:
           49|     value = commonAttrs // {
           50|       outPath = builtins.getAttr outputName strict;
             |                 ^
           51|       drvPath = strict.drvPath;

       … while calling the 'derivationStrict' builtin
         at :37:12:
           36|
           37|   strict = derivationStrict drvAttrs;
             |            ^
           38|

       … while evaluating derivation 'hashlink-1.15'
         whose name attribute is located at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/make-derivation.nix:541:13

       … while evaluating attribute 'buildInputs' of derivation 'hashlink-1.15'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/make-derivation.nix:593:13:
          592|             depsHostHost = elemAt (elemAt dependencies 1) 0;
          593|             buildInputs = elemAt (elemAt dependencies 1) 1;
             |             ^
          594|             depsTargetTarget = elemAt (elemAt dependencies 2) 0;

       … in the condition of the assert statement
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/lib/customisation.nix:412:15:
          411|             outPath =
          412|               assert condition;
             |               ^
          413|               drv.${outputName}.outPath;

       … while evaluating the attribute 'handled'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/check-meta.nix:756:9:
          755|         # or, alternatively, just output a warning message.
          756|         handled = (
             |         ^
          757|           if valid == "yes" then

       … from call site
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/check-meta.nix:760:14:
          759|           else if valid == "no" then
          760|             (handleEvalIssue { inherit meta attrs; } { inherit (validity) reason errormsg; })
             |              ^
          761|           else if valid == "warn" then

       … while calling 'handleEvalIssue'
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/check-meta.nix:317:5:
          316|     { meta, attrs }:
          317|     {
             |     ^
          318|       reason,

       … while calling the 'throw' builtin
         at /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/stdenv/generic/check-meta.nix:334:5:
          333|     in
          334|     handler msg;
             |     ^
          335|

       error: Package ‘mbedtls-2.28.10’ in /nix/store/gkml2dg2xvz369ygk8i80438gv32mi34-6506wv90034i61g33h3i7jn1bv2fqm8a-source/pkgs/development/libraries/mbedtls/generic.nix:68 is marked as insecure, refusing to evaluate.


       Known issues:
        - Mbed TLS 2 is not maintained anymore. Please migrate to newer versions

       You can install it anyway by allowing this package, using the
       following methods:

       a) To temporarily allow all insecure packages, you can use an environment
          variable for a single invocation of the nix tools:

            $ export NIXPKGS_ALLOW_INSECURE=1

          Note: When using `nix shell`, `nix build`, `nix develop`, etc with a flake,
                then pass `--impure` in order to allow use of environment variables.

       b) for `nixos-rebuild` you can add ‘mbedtls-2.28.10’ to
          `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
          like so:

            {
              nixpkgs.config.permittedInsecurePackages = [
                "mbedtls-2.28.10"
              ];
            }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
          ‘mbedtls-2.28.10’ to `permittedInsecurePackages` in
          ~/.config/nixpkgs/config.nix, like so:

            {
              permittedInsecurePackages = [
                "mbedtls-2.28.10"
              ];
            }

FAQ

How does this work?

The short version is that we use the Nix package manager and an optimised layering strategy.

Check out the Nixery talk from NixCon 2019 for more information.

Should I depend on nixery.dev in production?

While we appreciate the enthusiasm, if you would like to use Nixery in your production project we recommend setting up a private instance. The public Nixery at nixery.dev is run on a best-effort basis and we make no guarantees about availability.

Who made this?

Nixery was written by tazjin, originally at Google. These days Nixery is maintained by TVL.

Nixery would not be possible without the many people that have contributed to Nix and nixpkgs over time, maybe you could become one of them?

Where is the source code for this?

Nixery lives in the TVL monorepo. All development happens there and follows the TVL contribution guidelines.

We mirror the source code to Github but do not guarantee that anyone will look at PRs or issues there.