[Nix-dev] nix unpack

Yury G. Kudryashov urkud.urkud at gmail.com
Sun Jan 29 09:17:07 CET 2012


Sergey Mironov wrote:

> Hi! Have we got a tool/script which can download derivation's tarball
> into current directory (and unpack it)? Basically, I wish I have a
> tool wich does what 'cabal unpack' does for haskell world..
Untested:

src=`nix-build /etc/nixos/nixpkgs -A $1.src`
tar -xf $src
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the nix-dev mailing list