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

fetchTarball and implicit dependencies on tar and gzip? #1234

Closed
copumpkin opened this issue Feb 13, 2017 · 7 comments
Closed

fetchTarball and implicit dependencies on tar and gzip? #1234

copumpkin opened this issue Feb 13, 2017 · 7 comments
Assignees

Comments

@copumpkin
Copy link
Member

I haven't tied down a proper reproduction yet, but a friend of mine reported that fetchTarball complained about a missing tar and gzip dependency when he tried using it, which seems like a known issue from here.

cc @edolstra

@copumpkin
Copy link
Member Author

It looks like we'll have similar issues with git and https://github.com/NixOS/nix/blob/master/src/libexpr/primops/fetchgit.cc.

@Shou
Copy link

Shou commented Feb 21, 2019

The work done in #2498 might be generally relevant here

@FRidh
Copy link
Member

FRidh commented Sep 15, 2019

related #2419

@vcunat
Copy link
Member

vcunat commented Nov 12, 2019

If these properties remain, they should certainly be documented in https://nixos.org/nix/manual/#ssec-builtins

Another possible approach: nix already has a runtime dependency on a minimalistic busybox for the sandbox shell, so we might just build it with a couple more utilities and use those instead of $PATH. Quick test: ATM it has du size 160k, and adding CONFIG_TAR y only bumped it to 176k (including space for one extra symlink).

@edolstra
Copy link
Member

The dependency on tar is removed by #2748 (especially 5351f1b).

@3noch
Copy link

3noch commented Jun 4, 2020

Can this be closed then?

@edolstra
Copy link
Member

edolstra commented Dec 2, 2020

Yes, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants