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.dev 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.dev/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.dev/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.

curl/gawk/gnused/jq/kubectl/shell/yq
warning: error: unable to download 'https://cache.tvl.fyi/br3kyiysgc93gh5dp10vjpbvnbcq6r1x.narinfo': HTTP error 502 ()

       response body:

       
       502 Bad Gateway
       
       

502 Bad Gateway


nginx
; retrying in 484ms ms (attempt 1/5) warning: error: unable to download 'https://cache.tvl.fyi/br3kyiysgc93gh5dp10vjpbvnbcq6r1x.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 1083ms ms (attempt 2/5) warning: error: unable to download 'https://cache.tvl.fyi/br3kyiysgc93gh5dp10vjpbvnbcq6r1x.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 1899ms ms (attempt 3/5) warning: error: unable to download 'https://cache.tvl.fyi/br3kyiysgc93gh5dp10vjpbvnbcq6r1x.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 3909ms ms (attempt 4/5) error: … 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/ci5r8q32x2y8zcab0bha5yj7474ysr76-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 … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:21: 49| # TODO(Profpatsch): add tests that check stderr 50| assertMsg = pred: msg: pred || throw msg; | ^ 51| … while evaluating pred at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:26: 49| # TODO(Profpatsch): add tests that check stderr 50| assertMsg = pred: msg: pred || throw msg; | ^ 51| … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:5: 2625| in 2626| x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x); | ^ 2627| … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:8: 2625| in 2626| x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x); | ^ 2627| … while calling 'isStringLike' at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:18: 2645| */ 2646| isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString; | ^ 2647| … while calling the 'isString' builtin at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:21: 2645| */ 2646| isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString; | ^ 2647| … 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 realising the context of path '/nix/store/br3kyiysgc93gh5dp10vjpbvnbcq6r1x-runtime-graph.json' error: unable to download 'https://cache.tvl.fyi/br3kyiysgc93gh5dp10vjpbvnbcq6r1x.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
curl/gnused/jq/kubectl/shell
warning: error: unable to download 'https://cache.tvl.fyi/pcpc48p7hnlqsz27x915jmplfxn2nk5b.narinfo': HTTP error 502 ()

       response body:

       
       502 Bad Gateway
       
       

502 Bad Gateway


nginx
; retrying in 384ms ms (attempt 1/5) warning: error: unable to download 'https://cache.tvl.fyi/pcpc48p7hnlqsz27x915jmplfxn2nk5b.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 936ms ms (attempt 2/5) warning: error: unable to download 'https://cache.tvl.fyi/pcpc48p7hnlqsz27x915jmplfxn2nk5b.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 2063ms ms (attempt 3/5) warning: error: unable to download 'https://cache.tvl.fyi/pcpc48p7hnlqsz27x915jmplfxn2nk5b.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
; retrying in 3915ms ms (attempt 4/5) error: … 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/ci5r8q32x2y8zcab0bha5yj7474ysr76-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 … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:21: 49| # TODO(Profpatsch): add tests that check stderr 50| assertMsg = pred: msg: pred || throw msg; | ^ 51| … while evaluating pred at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:26: 49| # TODO(Profpatsch): add tests that check stderr 50| assertMsg = pred: msg: pred || throw msg; | ^ 51| … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:5: 2625| in 2626| x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x); | ^ 2627| … from call site at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:8: 2625| in 2626| x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x); | ^ 2627| … while calling 'isStringLike' at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:18: 2645| */ 2646| isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString; | ^ 2647| … while calling the 'isString' builtin at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:21: 2645| */ 2646| isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString; | ^ 2647| … 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 realising the context of path '/nix/store/pcpc48p7hnlqsz27x915jmplfxn2nk5b-runtime-graph.json' error: unable to download 'https://cache.tvl.fyi/pcpc48p7hnlqsz27x915jmplfxn2nk5b.narinfo': HTTP error 502 () response body: 502 Bad Gateway

502 Bad Gateway


nginx
consul/curl/findutils/shell
error:
       … 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/ci5r8q32x2y8zcab0bha5yj7474ysr76-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

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:21:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                     ^
           51|

       … while evaluating pred
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:26:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                          ^
           51|

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:5:
         2625|     in
         2626|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |     ^
         2627|

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:8:
         2625|     in
         2626|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |        ^
         2627|

       … while calling 'isStringLike'
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:18:
         2645|   */
         2646|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                  ^
         2647|

       … while calling the 'isString' builtin
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:21:
         2645|   */
         2646|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                     ^
         2647|

       … 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 «internal»:1:500:
       … while calling the 'derivationStrict' builtin
         at «internal»:1:208:
       … while evaluating derivation 'runtime-graph.json'
         whose name attribute is located at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/make-derivation.nix:536:13
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/make-derivation.nix:536:13:
          535|           // {
          536|             ${if (attrs ? name || (attrs ? pname && attrs ? version)) then "name" else null} =
             |             ^
          537|               let

       … 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 2
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:131:7:
          130|       __structuredAttrs = true;
          131|       exportReferencesGraph.graph = allContents.contents;
             |       ^
          132|       PATH = "${coreutils}/bin";

       … while evaluating condition
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/customisation.nix:450:16:
          449|       outPath =
          450|         assert condition;
             |                ^
          451|         drv.outPath;

       … while evaluating the attribute 'handled'
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/check-meta.nix:745:9:
          744|         valid = "no";
          745|         handled = handled;
             |         ^
          746|       };

       … caused by explicit throw
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/check-meta.nix:740:99:
          739|
          740|         handled = if config ? handleEvalIssue then config.handleEvalIssue invalid.reason msg else throw msg;
             |                                                                                                   ^
          741|       in

       error: Package ‘consul-1.22.1’ in /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/by-name/co/consul/package.nix:54 has an unfree license (‘bsl11’), refusing to evaluate.

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

            $ export NIXPKGS_ALLOW_UNFREE=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 set
         { nixpkgs.config.allowUnfree = true; }
       in configuration.nix to override this.

       Alternatively you can configure a predicate to allow specific packages:
         { nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
             "consul"
           ];
         }

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnfree = true; }
       to ~/.config/nixpkgs/config.nix.


       note: trace involved the following derivations:
       derivation 'runtime-graph.json'
jboss/keycloak
error:
       … 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/ci5r8q32x2y8zcab0bha5yj7474ysr76-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

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:21:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                     ^
           51|

       … while evaluating pred
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/asserts.nix:50:26:
           49|   # TODO(Profpatsch): add tests that check stderr
           50|   assertMsg = pred: msg: pred || throw msg;
             |                          ^
           51|

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-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/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:5:
         2625|     in
         2626|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |     ^
         2627|

       … from call site
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2626:8:
         2625|     in
         2626|     x: isStringLike x || elem (typeOf x) types || (isList x && lib.all isConvertibleWithToString x);
             |        ^
         2627|

       … while calling 'isStringLike'
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:18:
         2645|   */
         2646|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                  ^
         2647|

       … while calling the 'isString' builtin
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/strings.nix:2646:21:
         2645|   */
         2646|   isStringLike = x: isString x || isPath x || x ? outPath || x ? __toString;
             |                     ^
         2647|

       … 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 «internal»:1:500:
       … while calling the 'derivationStrict' builtin
         at «internal»:1:208:
       … while evaluating derivation 'runtime-graph.json'
         whose name attribute is located at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/make-derivation.nix:536:13
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/make-derivation.nix:536:13:
          535|           // {
          536|             ${if (attrs ? name || (attrs ? pname && attrs ? version)) then "name" else null} =
             |             ^
          537|               let

       … 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 2
         at /nix/store/zk2qpnzz9hcvwh46q1vcrbzasfiny2jh-prepare-image.nix:131:7:
          130|       __structuredAttrs = true;
          131|       exportReferencesGraph.graph = allContents.contents;
             |       ^
          132|       PATH = "${coreutils}/bin";

       … while evaluating condition
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/lib/customisation.nix:450:16:
          449|       outPath =
          450|         assert condition;
             |                ^
          451|         drv.outPath;

       … while evaluating the attribute 'handled'
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/check-meta.nix:745:9:
          744|         valid = "no";
          745|         handled = handled;
             |         ^
          746|       };

       … caused by explicit throw
         at /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/stdenv/generic/check-meta.nix:740:99:
          739|
          740|         handled = if config ? handleEvalIssue then config.handleEvalIssue invalid.reason msg else throw msg;
             |                                                                                                   ^
          741|       in

       error: Package ‘jboss-as-7.1.1.Final’ in /nix/store/ci5r8q32x2y8zcab0bha5yj7474ysr76-source/pkgs/by-name/jb/jboss/package.nix:23 is marked as insecure, refusing to evaluate.


       Known issues:
        - CVE-2015-7501: remote code execution in apache-commons-collections: InvokerTransformer during deserialisation

       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 ‘jboss-as-7.1.1.Final’ to
          `nixpkgs.config.permittedInsecurePackages` in the configuration.nix,
          like so:

            {
              nixpkgs.config.permittedInsecurePackages = [
                "jboss-as-7.1.1.Final"
              ];
            }

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

            {
              permittedInsecurePackages = [
                "jboss-as-7.1.1.Final"
              ];
            }



       note: trace involved the following derivations:
       derivation 'runtime-graph.json'

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.