Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I am unable to use bundlerEnv to create an environment that includes tzinfo #66411

savannidgerinel opened this issue Aug 10, 2019 · 4 comments


Copy link

@savannidgerinel savannidgerinel commented Aug 10, 2019

Describe the bug
I have created a shell environment for Ruby development. It includes Ruby 2.6.3p62, Bundler 1.17.2, and Bundix 2.4.1, all from the Unstable channel on 2019-08-09). If I include tzinfo 1.2.5 or tzinfo 2.0.0, even as a transient dependency, tzinfo fails to build and the environment fails to instantiate.

I have created a minimal shell.nix and supporting files at

The error message is:

warning: unknown setting 'signed-binary-caches'
these derivations will be built:
warning: unknown setting 'signed-binary-caches'
building '/nix/store/kx2gsl3c9ciryal6x7pi4clj7d5hd2y1-ruby2.6.3-tzinfo-1.2.5.drv'...
unpacking sources
Unpacked gem: '/private/var/folders/13/84dj8yr54_1c_pn0s8n7444h0000gn/T/nix-build-ruby2.6.3-tzinfo-1.2.5.drv-0/container/mg5gy5dz5rxbg73wkkrgx3vszqxya1ib-tzinfo-1.2.5'
patching sources
no configure script, doing nothing
WARNING:  See for help
ERROR:  While executing gem ... (Gem::InvalidSpecificationException)
    [".yardopts", "", "LICENSE", "", "Rakefile", "lib/tzinfo.rb",
    "test/zoneinfo/", "test/zoneinfo/leapseconds", "test/zoneinfo/posix/Europe/London", "test/zoneinfo/posixrules", "test/zoneinfo/right/Europe/London", "test/zoneinfo/", "test/zoneinfo/", "tzinfo.gemspec"] are not files
builder for '/nix/store/kx2gsl3c9ciryal6x7pi4clj7d5hd2y1-ruby2.6.3-tzinfo-1.2.5.drv' failed with exit code 1
cannot build derivation '/nix/store/13k5s8x7cjbmnvarf9423zrgc244wr0g-tzinfo-demo-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/13k5s8x7cjbmnvarf9423zrgc244wr0g-tzinfo-demo-env.drv' failed

To Reproduce
Steps to reproduce the behavior:

  1. Ensure the nixpkgs channel points to (although this also happens on
  2. Check out the repository
  3. Run nix-shell at the root of the repository

Expected behavior
I expect to get a shell environment that has Ruby and in which I can import tzinfo.

Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.

warning: unknown setting 'signed-binary-caches'
 - system: `"x86_64-darwin"`
 - host os: `Darwin 18.7.0, macOS 10.14.6`
 - multi-user?: `no`
 - sandbox: `no`
warning: unknown setting 'signed-binary-caches'
 - version: `nix-env (Nix) 2.1.3`
warning: unknown setting 'signed-binary-caches'
 - channels(savanni): `"nixpkgs-19.09pre187222.002b853782e, nixpkgs-18.09-18.09pre154169.68b3bff32da, nixpkgs-19.03-19.03pre173257.f8096b25f80"`
warning: unknown setting 'signed-binary-caches'
 - nixpkgs: `/Users/savanni/.nix-defexpr/channels/nixpkgs`

Maintainer information:

# a list of nixpkgs attributes affected by the problem
# a list of nixos modules affected by the problem

This comment has been minimized.

Copy link

@worldofpeace worldofpeace commented Aug 10, 2019


This comment has been minimized.

Copy link

@thefloweringash thefloweringash commented Aug 11, 2019

Similar symptoms to #60676.


This comment has been minimized.

Copy link

@alyssais alyssais commented Aug 12, 2019


This comment has been minimized.

Copy link

@alyssais alyssais commented Aug 31, 2019

This is now fixed in staging so I’m going to close this.

@alyssais alyssais closed this Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.