about summary refs log tree commit diff
path: root/corepkgs/unpack-channel.nix
AgeCommit message (Collapse)AuthorFilesLines
2017-02-27 unpack-channel.nix: fix 'mv' corner caseBjørn Forsman1-1/+3
unpack-channel.nix fails if the tarball contains a directory named the same as the channel: mv: cannot move 'nixpkgs' to a subdirectory of itself, '.../nixpkgs' This commit fixes that by not moving the directory if it already has the correct name.
2015-03-24 Don't rely on __noChroot for corepkgsEelco Dolstra1-2/+1
This doesn't work anymore if the "strict" chroot mode is enabled. Instead, add Nix's store path as a dependency. This ensures that its closure is present in the chroot.
2013-07-12 Fix syntax error in unpack-channelEelco Dolstra1-1/+1
2013-07-12 Add gzip support for channel unpackingGergely Risko1-2/+5
2012-12-05 Support xz compression of nixexprs.tar in channelsEelco Dolstra1-1/+6
2012-09-11 Don't use -warning=no-timestamp unless we have GNU tarEelco Dolstra1-1/+1
http://hydra.nixos.org/build/2998485
2012-08-01 nix-channel: Use binary caches advertised by channelsEelco Dolstra1-3/+7
Channels can now advertise a binary cache by creating a file <channel-url>/binary-cache-url. The channel unpacker puts these in its "binary-caches" subdirectory. Thus, the URLS of the binary caches for the channels added by root appear in /nix/var/nix/profiles/per-user/eelco/channels/binary-caches/*. The binary cache substituter reads these and adds them to the list of binary caches.
2012-08-01 Use a GNU tar flag to shut up warnings about implausibly old timestampEelco Dolstra1-1/+1
2012-08-01 Inline unpack-channel.shEelco Dolstra1-3/+16
2012-05-09 Disable building in chroot for Nix's corepkgsEelco Dolstra1-0/+4
The dependencies of the corepkgs are not necessarily in the chroot (or in the Nix store), so don't build them in a chroot.
2012-04-26 Don't use the build hook for unpacking channelsEelco Dolstra1-0/+2
2012-04-14 If the (redirected) channel URL contains a version number, use itEelco Dolstra1-2/+2
2012-04-14 nix-channel improvementsEelco Dolstra1-3/+3
"nix-channel --add" now accepts a second argument: the channel name. This allows channels to have a nicer name than (say) nixpkgs_unstable. If no name is given, it defaults to the last component of the URL (with "-unstable" or "-stable" removed). Also, channels are now stored in a profile (/nix/var/nix/profiles/per-user/$USER/channels). One advantage of this is that it allows rollbacks (e.g. if "nix-channel --update" gives an undesirable update).
2012-01-03 * Add a test for nix-channel.Eelco Dolstra1-0/+11
* Refactor the nix-channel unpacker a bit.