[Nix-dev] Build a package with what I have right now without updating deps

Pascal Wittmann PascalWittmann at gmx.net
Tue May 27 08:32:01 CEST 2014


On 05/27/2014 03:03 AM, Mateusz Kowalczyk wrote:
> I found https://nixos.org/wiki/Create_and_debug_nix_packages which
> mentions that we can use nixos-version to find out which commit we're at
> and then work from that. I guess that works.

That works. I have a git alias to checkout that commit easily

nixos-version = !git checkout $(nixos-version | awk -F. '{print $4}' |
cut -c1-7)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20140527/9300a452/attachment.bin 


More information about the nix-dev mailing list